Use NODE_ENV from environment instead of overriding it
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user