New dev commands and updates

This commit is contained in:
Jori Lallo
2017-11-10 15:24:29 -08:00
parent a6f8b0b2c9
commit c33c7f04d8
10 changed files with 148 additions and 12 deletions

View File

@@ -9,9 +9,8 @@
"build:analyze":
"NODE_ENV=production webpack --config webpack.config.prod.js --json | webpack-bundle-size-analyzer",
"build": "npm run clean && npm run build:webpack",
"start": "node index.js",
"dev":
"NODE_ENV=development DEBUG=sql,cache,presenters ./node_modules/.bin/nodemon --inspect --watch server index.js",
"start": "NODE_ENV=production node index.js",
"dev": "NODE_ENV=development nodemon --inspect --watch server index.js",
"lint": "npm run lint:flow && npm run lint:js",
"lint:js": "eslint app",
"lint:flow": "flow",