Rename start:js && build:js -> :app
This commit is contained in:
parent
b12bb3cf15
commit
8b51506511
1 changed files with 4 additions and 5 deletions
|
|
@ -47,12 +47,11 @@
|
|||
"react-snapshot": "^1.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm-run-all prepare-content -p start:content start:js",
|
||||
"start:js": "react-scripts start",
|
||||
"start": "npm-run-all prepare-content -p start:content start:app",
|
||||
"start:app": "react-scripts start",
|
||||
"start:content": "chokidar 'content/**/**' -c 'npm run prepare-content'",
|
||||
"build":
|
||||
"npm-run-all -s prepare-content build:js build:postcss build:react-snapshot build:sitemap build:sw",
|
||||
"build:js": "react-scripts build",
|
||||
"build": "npm-run-all -s prepare-content build:app build:postcss build:react-snapshot build:sitemap build:sw",
|
||||
"build:app": "react-scripts build",
|
||||
"build:postcss": "postcss build/static/css/*.css -r",
|
||||
"build:react-snapshot": "react-snapshot",
|
||||
"build:sw": "sw-precache --config='sw-precache-config.js'",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue