added prebuild

This commit is contained in:
Wyatt Johnson
2017-11-02 17:23:09 -06:00
parent 76a255fb7b
commit 04e6f5b52d
+3 -1
View File
@@ -7,11 +7,13 @@
"scripts": {
"postinstall": "./bin/cli plugins reconcile --skip-remote",
"generate-introspection": "WEBPACK=TRUE NODE_ENV=test ./scripts/generateIntrospectionResult.js",
"watch": "npm-run-all generate-introspection --parallel watch:*",
"clean": "rm -rf dist client/coral-framework/graphql/introspection.json",
"watch": "npm-run-all clean generate-introspection --parallel watch:*",
"watch:client": "NODE_ENV=development webpack --progress --watch",
"watch:server": "nodemon --config .nodemon.json",
"start:development": "NODE_ENV=development ./bin/cli -c .env serve -j -w",
"start:production": "NODE_ENV=production ./bin/cli serve -j -w",
"prebuild": "npm-run-all clean generate-introspection",
"build": "NODE_ENV=production webpack -p --bail",
"lint:yaml": "yamllint locales/*.yml",
"lint:js": "eslint --ext=.js --ext=.json bin/* .",