mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 22:01:13 +08:00
added prebuild
This commit is contained in:
+3
-1
@@ -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/* .",
|
||||
|
||||
Reference in New Issue
Block a user