mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 13:13:22 +00:00
Setup Webpack & TypeScript (#316)
* TypeScript and WebPack. * Minor cleanup. * Add background.js as entry point to webpack. * Use downloaded fonts for better performance. Remove google-fonts-webpack-plugin. * Add the remaining entry points and setup notification bar. * Update readme for webpack. * Convert CipherItems to TypeScript to demonstrate how a component looks in TS. * Fix edge requirering a custom angular version. * Rewrite gulp tasks for packaging releases. * Re-add the webpack gulp plugin. * Remove unessesary line in analytics.
This commit is contained in:
committed by
Kyle Spearrin
parent
e57f3fe5f0
commit
59754cd530
31
package.json
31
package.json
@@ -2,7 +2,10 @@
|
||||
"name": "bitwarden",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"start:firefox": "web-ext run --source-dir ./dist/"
|
||||
"start:firefox": "web-ext run --source-dir ./dist/",
|
||||
"dev": "webpack --config webpack.dev.js",
|
||||
"dev:watch": "webpack --config webpack.dev.js --watch",
|
||||
"prod": "webpack --config webpack.prod.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular": "1.6.6",
|
||||
@@ -15,22 +18,28 @@
|
||||
"bootstrap": "3.3.7",
|
||||
"browserify": "14.4.0",
|
||||
"child_process": "1.0.2",
|
||||
"clean-webpack-plugin": "^0.1.17",
|
||||
"clipboard": "1.7.1",
|
||||
"copy-webpack-plugin": "^4.2.0",
|
||||
"css-loader": "^0.28.7",
|
||||
"extract-text-webpack-plugin": "^3.0.1",
|
||||
"file-loader": "^1.1.5",
|
||||
"font-awesome": "4.7.0",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-angular-embed-templates": "2.3.0",
|
||||
"gulp-concat": "2.6.1",
|
||||
"gulp-google-webfonts": "0.0.14",
|
||||
"gulp-if": "^2.0.2",
|
||||
"gulp-jshint": "2.0.4",
|
||||
"gulp-json-editor": "2.2.1",
|
||||
"gulp-less": "3.3.2",
|
||||
"gulp-preprocess": "2.0.0",
|
||||
"gulp-rename": "1.2.2",
|
||||
"gulp-util": "3.0.8",
|
||||
"gulp-replace": "^0.6.1",
|
||||
"gulp-xmlpoke": "0.2.1",
|
||||
"gulp-zip": "4.0.0",
|
||||
"html-loader": "^0.5.1",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"jquery": "3.2.1",
|
||||
"jshint": "2.9.5",
|
||||
"less": "^3.0.0-alpha.3",
|
||||
"less-loader": "^4.0.5",
|
||||
"merge-stream": "1.0.1",
|
||||
"ng-infinite-scroll": "1.3.0",
|
||||
"ngclipboard": "1.1.1",
|
||||
@@ -38,11 +47,19 @@
|
||||
"papaparse": "4.3.5",
|
||||
"q": "1.5.0",
|
||||
"rimraf": "2.6.1",
|
||||
"run-sequence": "2.1.0",
|
||||
"run-sequence": "^2.2.0",
|
||||
"style-loader": "^0.19.0",
|
||||
"sweetalert": "1.1.3",
|
||||
"tldjs": "2.0.0",
|
||||
"ts-loader": "^3.0.5",
|
||||
"typescript": "^2.5.3",
|
||||
"vinyl-source-stream": "1.1.0",
|
||||
"web-ext": "2.0.0",
|
||||
"webpack": "^3.8.1",
|
||||
"webpack-merge": "^4.1.0",
|
||||
"webpack-stream": "4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/angular": "^1.6.34"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user