2015-12-09 04:35:05 +01:00
|
|
|
{
|
2018-06-05 05:10:41 +02:00
|
|
|
"name": "bitwarden-web",
|
2022-01-06 23:15:35 +01:00
|
|
|
"version": "2.25.1",
|
2020-05-01 18:21:23 +02:00
|
|
|
"license": "GPL-3.0",
|
|
|
|
"repository": "https://github.com/bitwarden/web",
|
2018-06-05 05:10:41 +02:00
|
|
|
"scripts": {
|
|
|
|
"sub:init": "git submodule update --init --recursive",
|
|
|
|
"sub:update": "git submodule update --remote",
|
2020-02-04 05:10:47 +01:00
|
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
2021-06-07 20:13:58 +02:00
|
|
|
"preinstall": "npm run sub:init",
|
2019-09-25 22:10:13 +02:00
|
|
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
2020-01-27 18:46:25 +01:00
|
|
|
"symlink:mac": "npm run symlink:lin",
|
|
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
2021-09-24 18:24:58 +02:00
|
|
|
"build:oss": "webpack",
|
|
|
|
"build:bit": "webpack -c bitwarden_license/webpack.config.js",
|
|
|
|
"build:oss:watch": "webpack serve",
|
|
|
|
"build:bit:watch": "webpack serve -c bitwarden_license/webpack.config.js",
|
2021-09-14 13:26:26 +02:00
|
|
|
"build:bit:dev": "cross-env ENV=development npm run build:bit",
|
|
|
|
"build:bit:dev:watch": "cross-env ENV=development npm run build:bit:watch",
|
|
|
|
"build:bit:qa": "cross-env NODE_ENV=production ENV=qa npm run build:bit",
|
|
|
|
"build:bit:cloud": "cross-env NODE_ENV=production ENV=cloud npm run build:bit",
|
|
|
|
"build:oss:selfhost:watch": "cross-env ENV=selfhosted npm run build:oss:watch",
|
|
|
|
"build:bit:selfhost:watch": "cross-env ENV=selfhosted npm run build:bit:watch",
|
|
|
|
"build:oss:selfhost:prod": "cross-env ENV=selfhosted NODE_ENV=production npm run build:oss",
|
|
|
|
"build:bit:selfhost:prod": "cross-env ENV=selfhosted NODE_ENV=production npm run build:bit",
|
2018-07-30 23:10:35 +02:00
|
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
2021-09-24 18:24:58 +02:00
|
|
|
"dist:bit:cloud": "npm run build:bit:cloud",
|
|
|
|
"dist:oss:selfhost": "npm run build:oss:selfhost:prod",
|
|
|
|
"dist:bit:selfhost": "npm run build:bit:selfhost:prod",
|
2021-09-14 13:26:26 +02:00
|
|
|
"deploy": "npm run dist:bit && gh-pages -d build",
|
|
|
|
"deploy:dev": "npm run dist:bit && gh-pages -d build -r git@github.com:kspearrin/bitwarden-web-dev.git",
|
2021-11-24 19:23:31 +01:00
|
|
|
"lint": "tslint 'src/**/*.ts' 'bitwarden_license/src/**/*.ts' && prettier --check .",
|
2021-12-17 15:44:44 +01:00
|
|
|
"lint:fix": "tslint 'src/**/*.ts' 'bitwarden_license/src/**/*.ts' --fix",
|
|
|
|
"prettier": "prettier --write .",
|
|
|
|
"prepare": "husky install"
|
2018-06-05 05:10:41 +02:00
|
|
|
},
|
2016-08-12 00:05:33 +02:00
|
|
|
"devDependencies": {
|
2021-12-09 22:12:53 +01:00
|
|
|
"@angular/compiler-cli": "^12.2.13",
|
|
|
|
"@ngtools/webpack": "^12.2.13",
|
2021-04-12 17:05:33 +02:00
|
|
|
"@types/jquery": "^3.5.5",
|
2021-12-13 17:16:57 +01:00
|
|
|
"@types/node": "^16.11.12",
|
2018-06-05 05:10:41 +02:00
|
|
|
"@types/webcrypto": "^0.0.28",
|
2021-12-09 22:12:53 +01:00
|
|
|
"@types/webpack": "^5.28.0",
|
|
|
|
"buffer": "^6.0.3",
|
|
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
|
|
"copy-webpack-plugin": "^10.0.0",
|
2021-04-22 21:29:29 +02:00
|
|
|
"cross-env": "^7.0.3",
|
2021-12-09 22:12:53 +01:00
|
|
|
"css-loader": "^6.5.1",
|
2021-04-22 21:29:29 +02:00
|
|
|
"gh-pages": "^3.1.0",
|
2021-12-09 22:12:53 +01:00
|
|
|
"html-loader": "^3.0.1",
|
2021-10-05 12:03:24 +02:00
|
|
|
"html-webpack-injector": "1.1.4",
|
2021-12-09 22:12:53 +01:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2021-12-17 15:44:44 +01:00
|
|
|
"husky": "^7.0.4",
|
|
|
|
"lint-staged": "^12.1.2",
|
2021-12-09 22:12:53 +01:00
|
|
|
"mini-css-extract-plugin": "^2.4.5",
|
2021-12-17 15:44:44 +01:00
|
|
|
"prettier": "2.5.1",
|
2021-12-09 22:12:53 +01:00
|
|
|
"process": "^0.11.10",
|
2021-04-22 21:29:29 +02:00
|
|
|
"sass": "^1.32.10",
|
2021-12-09 22:12:53 +01:00
|
|
|
"sass-loader": "^12.4.0",
|
|
|
|
"style-loader": "^3.3.1",
|
|
|
|
"terser-webpack-plugin": "^5.2.5",
|
|
|
|
"ts-loader": "^9.2.5",
|
2020-08-12 21:43:26 +02:00
|
|
|
"tslint": "^6.1.3",
|
2019-01-25 20:05:09 +01:00
|
|
|
"tslint-loader": "^3.5.4",
|
2021-12-09 22:12:53 +01:00
|
|
|
"typescript": "4.3.5",
|
|
|
|
"util": "^0.12.4",
|
|
|
|
"webpack": "^5.64.4",
|
|
|
|
"webpack-cli": "^4.9.1",
|
|
|
|
"webpack-dev-server": "^4.6.0"
|
2018-06-05 05:10:41 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-12-09 22:12:53 +01:00
|
|
|
"@angular/animations": "^12.2.13",
|
|
|
|
"@angular/cdk": "^12.2.13",
|
|
|
|
"@angular/common": "^12.2.13",
|
|
|
|
"@angular/compiler": "^12.2.13",
|
|
|
|
"@angular/core": "^12.2.13",
|
|
|
|
"@angular/forms": "^12.2.13",
|
|
|
|
"@angular/platform-browser": "^12.2.13",
|
|
|
|
"@angular/platform-browser-dynamic": "^12.2.13",
|
|
|
|
"@angular/router": "^12.2.13",
|
2021-06-07 20:13:58 +02:00
|
|
|
"@bitwarden/jslib-angular": "file:jslib/angular",
|
|
|
|
"@bitwarden/jslib-common": "file:jslib/common",
|
2021-04-22 21:29:29 +02:00
|
|
|
"bootstrap": "4.6.0",
|
2021-07-05 13:28:45 +02:00
|
|
|
"braintree-web-drop-in": "1.30.1",
|
2021-01-25 21:11:51 +01:00
|
|
|
"browser-hrtime": "^1.1.8",
|
2021-04-22 21:29:29 +02:00
|
|
|
"core-js": "^3.11.0",
|
2021-03-02 20:02:15 +01:00
|
|
|
"date-input-polyfill": "^2.14.0",
|
2017-03-22 04:05:14 +01:00
|
|
|
"font-awesome": "4.7.0",
|
2021-04-09 18:14:44 +02:00
|
|
|
"jquery": "3.6.0",
|
2021-08-05 04:05:15 +02:00
|
|
|
"ngx-infinite-scroll": "^10.0.1",
|
2021-12-09 22:12:53 +01:00
|
|
|
"ngx-toastr": "14.1.4",
|
2021-04-22 21:29:29 +02:00
|
|
|
"popper.js": "1.16.1",
|
2018-07-14 05:15:09 +02:00
|
|
|
"qrious": "4.0.2",
|
2021-12-09 22:12:53 +01:00
|
|
|
"rxjs": "^7.4.0",
|
2021-04-22 21:29:29 +02:00
|
|
|
"sweetalert2": "^10.16.6",
|
|
|
|
"webcrypto-shim": "0.1.7",
|
2021-06-07 20:13:58 +02:00
|
|
|
"whatwg-fetch": "3.6.2"
|
2021-05-14 20:08:03 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-12-13 17:16:57 +01:00
|
|
|
"node": "~16",
|
|
|
|
"npm": "~8"
|
2021-12-17 15:44:44 +01:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-01-06 21:20:35 +01:00
|
|
|
"*": "prettier --ignore-unknown --write",
|
|
|
|
"*.png": "node scripts/optimize.js"
|
2016-08-12 00:05:33 +02:00
|
|
|
}
|
2022-01-07 14:28:25 +01:00
|
|
|
}
|