Use cross-env in npm scripts

This commit is contained in:
Max Goodman
2020-06-21 01:56:14 -07:00
parent 2307eb6289
commit b191079bf2
2 changed files with 49 additions and 3 deletions

View File

@@ -6,12 +6,13 @@
"scripts": {
"build": "webpack",
"start": "npm run build -- --display=errors-only && electron dist",
"start:prod": "NODE_ENV=production npm start",
"start:prod": "cross-env NODE_ENV=production npm start",
"test": "jest"
},
"author": "Max Goodhart <c@chromakode.com>",
"license": "MIT",
"dependencies": {
"cross-env": "^7.0.2",
"csvtojson": "^2.0.10",
"ejs": "^3.1.3",
"electron": "^9.0.4",