96 lines
3.9 KiB
JSON
96 lines
3.9 KiB
JSON
{
|
|
"name": "bitwarden-web",
|
|
"version": "2.21.0",
|
|
"license": "GPL-3.0",
|
|
"repository": "https://github.com/bitwarden/web",
|
|
"scripts": {
|
|
"sub:init": "git submodule update --init --recursive",
|
|
"sub:update": "git submodule update --remote",
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
|
"preinstall": "npm run sub:init",
|
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
|
"symlink:mac": "npm run symlink:lin",
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
|
"build": "gulp prebuild && webpack -c bitwarden_license/webpack.config.js",
|
|
"build:oss": "gulp prebuild && webpack",
|
|
"build:watch": "gulp prebuild && webpack serve -c bitwarden_license/webpack.config.js",
|
|
"build:watch:oss": "gulp prebuild && webpack serve",
|
|
"build:dev": "cross-env ENV=development npm run build",
|
|
"build:dev:watch": "cross-env ENV=development npm run build:watch",
|
|
"build:qa": "cross-env NODE_ENV=production ENV=qa npm run build",
|
|
"build:qa:watch": "cross-env NODE_ENV=production ENV=qa npm run build:watch",
|
|
"build:prod": "cross-env NODE_ENV=production ENV=production npm run build",
|
|
"build:prod:oss": "cross-env NODE_ENV=production ENV=production npm run build:oss",
|
|
"build:prod:watch": "cross-env NODE_ENV=production ENV=production npm run build:watch",
|
|
"build:selfhost": "cross-env SELF_HOST=true npm run build:watch",
|
|
"build:selfhost:watch": "cross-env SELF_HOST=true npm run build:watch",
|
|
"build:selfhost:prod": "cross-env SELF_HOST=true NODE_ENV=production npm run build",
|
|
"build:selfhost:prod:oss": "cross-env SELF_HOST=true NODE_ENV=production npm run build:oss",
|
|
"build:selfhost:prod:watch": "cross-env SELF_HOST=true NODE_ENV=production npm run build:watch",
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
|
"dist": "npm run build:prod && gulp postdist",
|
|
"dist:oss": "npm run build:prod:oss && gulp postdist",
|
|
"dist:selfhost": "npm run build:selfhost:prod && gulp postdist",
|
|
"dist:selfhost:oss": "npm run build:selfhost:prod:oss && gulp postdist",
|
|
"deploy": "npm run dist && gh-pages -d build",
|
|
"deploy:dev": "npm run dist && gh-pages -d build -r git@github.com:kspearrin/bitwarden-web-dev.git",
|
|
"lint": "tslint 'src/**/*.ts' || true",
|
|
"lint:fix": "tslint 'src/**/*.ts' --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "^11.2.11",
|
|
"@ngtools/webpack": "^11.2.10",
|
|
"@types/duo_web_sdk": "^2.7.0",
|
|
"@types/jquery": "^3.5.5",
|
|
"@types/node": "^14.17.2",
|
|
"@types/webcrypto": "^0.0.28",
|
|
"@types/webpack": "^4.4.27",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^6.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^5.2.3",
|
|
"del": "^6.0.0",
|
|
"file-loader": "^6.2.0",
|
|
"gh-pages": "^3.1.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-google-webfonts": "^4.0.0",
|
|
"html-loader": "^1.3.2",
|
|
"html-webpack-plugin": "^4.5.1",
|
|
"mini-css-extract-plugin": "^1.5.0",
|
|
"sass": "^1.32.10",
|
|
"sass-loader": "^10.1.1",
|
|
"style-loader": "^2.0.0",
|
|
"tapable": "^1.1.3",
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
"ts-loader": "^8.1.0",
|
|
"tslint": "^6.1.3",
|
|
"tslint-loader": "^3.5.4",
|
|
"typescript": "4.1.5",
|
|
"webpack": "^4.46.0",
|
|
"webpack-cli": "^4.6.0",
|
|
"webpack-dev-server": "^3.11.2"
|
|
},
|
|
"dependencies": {
|
|
"@bitwarden/jslib-angular": "file:jslib/angular",
|
|
"@bitwarden/jslib-common": "file:jslib/common",
|
|
"angular2-toaster": "11.0.1",
|
|
"bootstrap": "4.6.0",
|
|
"braintree-web-drop-in": "1.28.0",
|
|
"browser-hrtime": "^1.1.8",
|
|
"core-js": "^3.11.0",
|
|
"date-input-polyfill": "^2.14.0",
|
|
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git#5f9a1a8598d2cda494c4f5ee0e38b31474abfee9",
|
|
"font-awesome": "4.7.0",
|
|
"jquery": "3.6.0",
|
|
"popper.js": "1.16.1",
|
|
"qrious": "4.0.2",
|
|
"sweetalert2": "^10.16.6",
|
|
"webcrypto-shim": "0.1.7",
|
|
"whatwg-fetch": "3.6.2"
|
|
},
|
|
"engines": {
|
|
"node": "~14",
|
|
"npm": "~7"
|
|
}
|
|
}
|