updates to cli

- removed -c,--config flag in favor of env only or .env files
- loads .env always if found
- scripts re-written to call cli-serve directly
This commit is contained in:
Wyatt Johnson
2017-12-21 12:03:34 -07:00
parent 7ae0df2cbc
commit 4fb9910221
15 changed files with 17 additions and 102 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
"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": "NODE_ENV=production ./bin/cli serve -j -w",
"start:development": "NODE_ENV=development ./bin/cli-serve -j -w",
"start": "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",