1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

package app

This commit is contained in:
Kyle Spearrin 2018-05-16 12:37:19 -04:00
parent e73a00f4a2
commit e77bcd6c5e
2 changed files with 850 additions and 0 deletions

841
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,6 +25,11 @@
"build:watch": "webpack --config webpack.config.js --watch", "build:watch": "webpack --config webpack.config.js --watch",
"build:prod": "cross-env NODE_ENV=production webpack --config webpack.config.js", "build:prod": "cross-env NODE_ENV=production webpack --config webpack.config.js",
"build:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.config.js --watch", "build:prod:watch": "cross-env NODE_ENV=production webpack --config webpack.config.js --watch",
"package": "npm run package:win | npm run package:mac | npm run package:lin",
"package:win": "pkg . --targets win-x64 --output ./dist/windows/bw.exe",
"package:mac": "pkg . --targets macos-x64 --output ./dist/macos/bw",
"package:lin": "pkg . --targets linux-x64 --output ./dist/linux/bw",
"dist": "npm run clean && npm run package",
"publish:npm": "npm run build:prod && npm publish --access public", "publish:npm": "npm run build:prod && npm publish --access public",
"lint": "tslint src/**/*.ts spec/**/*.ts || true", "lint": "tslint src/**/*.ts spec/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix" "lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix"
@ -32,6 +37,9 @@
"bin": { "bin": {
"bw": "./build/bw.js" "bw": "./build/bw.js"
}, },
"pkg": {
"assets": "./build/**/*"
},
"devDependencies": { "devDependencies": {
"@types/commander": "^2.12.2", "@types/commander": "^2.12.2",
"@types/node": "^10.0.8", "@types/node": "^10.0.8",
@ -39,6 +47,7 @@
"clean-webpack-plugin": "^0.1.17", "clean-webpack-plugin": "^0.1.17",
"copy-webpack-plugin": "^4.2.0", "copy-webpack-plugin": "^4.2.0",
"cross-env": "^5.1.4", "cross-env": "^5.1.4",
"pkg": "^4.3.1",
"ts-loader": "^3.5.0", "ts-loader": "^3.5.0",
"tslint": "^5.9.1", "tslint": "^5.9.1",
"tslint-loader": "^3.5.3", "tslint-loader": "^3.5.3",