-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
executable file
·27 lines (27 loc) · 1.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "Nuxt-SSR-Firebase",
"version": "0.2.0",
"description": "Nuxt.js 2 app with SSR using Firebase Cloud Functions and Firebase Hosting.",
"license": "MIT",
"author": "David Royer",
"repository": "https://github.com/davidroyer/nuxt-ssr-firebase",
"scripts": {
"dev": "cd \"src\" && yarn dev",
"build": "yarn build:nuxt && yarn clean && yarn copyassets",
"serve": "NODE_ENV=development firebase serve",
"deploy": "firebase deploy",
"predeploy": "yarn build",
"setup": "yarn install && yarn setup:client && yarn setup:server",
"setup:client": "cd \"src\" && yarn install",
"setup:server": "cd \"prod/server\" && yarn install",
"copyassets": "yarn copydist && yarn copystatic",
"copydist": "cp -R prod/server/nuxt/dist/ prod/client/assets",
"copystatic": "cp -R src/static/ prod/client",
"clean": "rimraf prod/client/assets/* && rimraf prod/client/*.*",
"build:nuxt": "cd \"src\" && yarn build"
},
"devDependencies": {
"cross-env": "^5.0.5",
"rimraf": "^2.6.2"
}
}