2015-12-09 04:35:05 +01:00
|
|
|
{
|
2022-01-17 17:23:14 +01:00
|
|
|
"name": "@bitwarden/web-vault",
|
2022-03-02 22:08:58 +01:00
|
|
|
"version": "2.26.2",
|
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",
|
2022-02-24 12:10:07 +01:00
|
|
|
"lint": "eslint . && prettier --check .",
|
|
|
|
"lint:fix": "eslint . --fix",
|
2021-12-17 15:44:44 +01:00
|
|
|
"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",
|
2022-02-24 12:10:07 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
|
|
|
"@typescript-eslint/parser": "^5.10.1",
|
2021-12-09 22:12:53 +01:00
|
|
|
"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",
|
2022-02-24 12:10:07 +01:00
|
|
|
"eslint": "^8.7.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
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",
|
2022-02-24 12:10:07 +01:00
|
|
|
"rimraf": "^3.0.2",
|
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",
|
|
|
|
"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",
|
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",
|
2022-02-24 12:10:07 +01:00
|
|
|
"node-forge": "^0.10.0",
|
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-02-15 22:41:41 +01:00
|
|
|
"./!(jslib)**": "prettier --ignore-unknown --write",
|
2022-02-24 12:10:07 +01:00
|
|
|
"*.ts": "eslint --fix",
|
2022-01-06 21:20:35 +01:00
|
|
|
"*.png": "node scripts/optimize.js"
|
2016-08-12 00:05:33 +02:00
|
|
|
}
|
2022-01-07 14:28:25 +01:00
|
|
|
}
|