1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-10 12:33:26 +00:00

prod environment settings

This commit is contained in:
Kyle Spearrin
2018-04-13 15:14:04 -04:00
parent 76eeb4e41d
commit dc35577564
6 changed files with 34 additions and 11 deletions

View File

@@ -6,13 +6,14 @@
"sub:update": "git submodule update --remote",
"sub:pull": "git submodule foreach git pull",
"postinstall": "npm run sub:init",
"start:firefox": "web-ext run --source-dir ./dist/",
"build": "gulp build && webpack --config webpack.config.js",
"build:watch": "gulp build && webpack --config webpack.config.js --watch",
"dist": "npm run build && gulp dist",
"dist:firefox": "npm run build && gulp dist:firefox",
"dist:opera": "npm run build && gulp dist:opera",
"dist:safari": "npm run build && gulp dist:safari",
"build:prod": "gulp build && cross-env NODE_ENV=production webpack --config webpack.config.js",
"build:prod:watch": "gulp build && cross-env NODE_ENV=production webpack --config webpack.config.js --watch",
"dist": "npm run build:prod && gulp dist",
"dist:firefox": "npm run build:prod && gulp dist:firefox",
"dist:opera": "npm run build:prod && gulp dist:opera",
"dist:safari": "npm run build:prod && gulp dist:safari",
"lint": "tslint src/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts --fix",
"test": "karma start --single-run",
@@ -43,6 +44,7 @@
"clean-webpack-plugin": "^0.1.17",
"clipboard": "1.7.1",
"copy-webpack-plugin": "^4.2.0",
"cross-env": "^5.1.4",
"css-loader": "^0.28.7",
"del": "3.0.0",
"extract-text-webpack-plugin": "^3.0.1",