1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 22:23:28 +00:00

switch to webpack

This commit is contained in:
Kyle Spearrin
2018-05-14 23:16:59 -04:00
parent 55ebf3ac64
commit ec049edfdf
9 changed files with 4319 additions and 58 deletions

View File

@@ -15,20 +15,35 @@
"url": "https://github.com/bitwarden/cli"
},
"license": "GPL-3.0",
"scripts": {},
"scripts": {
"clean": "rimraf dist/**/*",
"build": "webpack --config webpack.config.js",
"build:watch": "webpack --config webpack.config.js --watch",
"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",
"lint": "tslint src/**/*.ts spec/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix"
},
"bin": {
"bw": "./src/bw.js"
"bw": "./bw.js"
},
"devDependencies": {
"@types/commander": "^2.12.2",
"@types/node": "^10.0.8"
"@types/node": "^10.0.8",
"clean-webpack-plugin": "^0.1.17",
"copy-webpack-plugin": "^4.2.0",
"cross-env": "^5.1.4",
"ts-loader": "^3.5.0",
"tslint": "^5.9.1",
"tslint-loader": "^3.5.3",
"ts-node": "^6.0.3",
"typescript": "^2.7.1",
"webpack": "^3.10.0"
},
"dependencies": {
"commander": "^2.15.1",
"node-fetch": "2.1.2",
"node-localstorage": "1.3.1",
"tsconfig-paths": "3.3.2",
"ts-node": "6.0.3",
"typescript": "^2.7.1"
"node-forge": "0.7.1",
"node-localstorage": "1.3.1"
}
}