Remove sass:compile and add prestart npm scripts
-I figure this should be changed now while it's fresh on my mind and may come in handy down the road to have the ability to auto-run 'npm update' when new packages are added and/or to more easily do any other future pre-run processing
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@
|
||||
"version": "1.99.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "npm run sass:compile && node --stack-size=10000 ./bin/cluster",
|
||||
"start": "npm run prestart && node --stack-size=10000 ./bin/cluster",
|
||||
"stop": "kill -2 $(cat tmp/cluster.pid)",
|
||||
"test": "node ./node_modules/jasmine/bin/jasmine.js test/*Spec.js",
|
||||
"sass:compile": "sh ./scripts/sass_theme_reader.sh && ./node_modules/.bin/sass --no-source-map --style=compressed ./public/css/style.scss ./public/css/style.min.css"
|
||||
"prestart": "sh ./scripts/prestart.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": ">=4.17.1",
|
||||
|
||||
Reference in New Issue
Block a user