1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-24 12:13:39 +00:00

convert webpack config to ts

This commit is contained in:
Kyle Spearrin
2018-04-06 17:02:46 -04:00
parent 54ac6fd445
commit df4e7f030d
3 changed files with 252 additions and 50 deletions

View File

@@ -9,8 +9,8 @@
"start:firefox": "web-ext run --source-dir ./dist/",
"dev": "gulp build && webpack --config webpack.dev.js",
"dev:watch": "gulp build && webpack --config webpack.dev.js --watch",
"dev2": "gulp build2 && webpack --config webpack2.js",
"dev2:watch": "gulp build2 && webpack --config webpack2.js --watch",
"dev2": "gulp build2 && env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' webpack --config webpack.config.ts",
"dev2:watch": "gulp build2 && env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' webpack --config webpack.config.ts --watch",
"prod": "gulp build && webpack --config webpack.prod.js",
"dist": "npm run prod && gulp dist",
"dist:firefox": "npm run prod && gulp dist:firefox",
@@ -26,6 +26,10 @@
"@ngtools/webpack": "1.10.2",
"@types/angular": "^1.6.34",
"@types/chrome": "0.0.51",
"@types/clean-webpack-plugin": "^0.1.2",
"@types/copy-webpack-plugin": "^4.4.1",
"@types/extract-text-webpack-plugin": "^3.0.2",
"@types/html-webpack-plugin": "^2.30.3",
"@types/jasmine": "^2.8.2",
"@types/jquery": "^3.2.16",
"@types/lunr": "2.1.5",
@@ -36,6 +40,7 @@
"@types/safari-extension-content": "^0.0.14",
"@types/tldjs": "1.7.1",
"@types/webcrypto": "^0.0.28",
"@types/webpack": "^3.8.11",
"angular": "1.6.9",
"angular-animate": "1.6.9",
"angular-sweetalert": "1.1.2",
@@ -83,6 +88,7 @@
"sweetalert": "1.1.3",
"tldjs": "2.0.0",
"ts-loader": "^3.5.0",
"ts-node": "5.0.1",
"tslint": "^5.9.1",
"tslint-loader": "^3.5.3",
"typescript": "^2.7.1",