mirror of
https://github.com/gosticks/web.git
synced 2026-10-06 22:57:01 +00:00
Improve npm run start behavior when starting with no CSS compiled
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
+2
-2
@@ -38,14 +38,14 @@
|
||||
"sha.js": "^2.4.11"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm-run-all -p watch-css start-js",
|
||||
"start": "npm run build-css && npm-run-all -p watch-css start-js",
|
||||
"start-js": "react-scripts start",
|
||||
"start-fake": "node make-fake-data.js && REACT_APP_FAKE_API=1 npm run start",
|
||||
"build": "npm-run-all build-css build-js",
|
||||
"build-fake": "node make-fake-data.js && REACT_APP_FAKE_API=1 npm run build",
|
||||
"build-js": "react-scripts build",
|
||||
"build-css": "node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss",
|
||||
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss --watch --recursive",
|
||||
"watch-css": "node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss --watch --recursive",
|
||||
"update-translations": "node update-translations.js",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject"
|
||||
|
||||
Reference in New Issue
Block a user