Use NODE_ENV from environment instead of overriding it

This commit is contained in:
Alex Gleason
2020-04-26 12:49:20 -05:00
parent 741b065d82
commit 24c7b3a6bf
8 changed files with 57 additions and 16 deletions

View File

@@ -2,16 +2,15 @@
"name": "soapbox-fe",
"version": "0.0.0",
"scripts": {
"start": "NODE_ENV=development npx webpack-dev-server --config webpack/development.js",
"start": "npx webpack-dev-server --config webpack",
"dev": "${npm_execpath} run start",
"build:development": "NODE_ENV=development npx webpack --config webpack/development.js",
"build:production": "NODE_ENV=production npx webpack --config webpack/production.js",
"build": "npx webpack --config webpack",
"manage:translations": "node ./webpack/translationRunner.js",
"test": "${npm_execpath} run test:lint && ${npm_execpath} run test:jest",
"test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
"test:lint:js": "npx eslint --ext=js . --cache",
"test:lint:sass": "npx sass-lint -v",
"test:jest": "NODE_ENV=test npx jest --coverage"
"test:jest": "npx jest --coverage"
},
"license": "AGPL-3.0-or-later",
"browserslist": [