mirror of
https://github.com/bitwarden/browser
synced 2024-12-18 20:33:00 +01:00
b12d0387f6
* Add jslib as a dependency * Cleanup tsconfig, webpack, add jslib-angular to package.json * Update all import paths * Add back @types/node. * Lint * Remove dummy module * Remove merge conflict * Group imports * Bump jslib
90 lines
3.6 KiB
JSON
90 lines
3.6 KiB
JSON
{
|
|
"name": "bitwarden-web",
|
|
"version": "2.20.4",
|
|
"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",
|
|
"build:watch": "gulp prebuild && webpack serve",
|
|
"build:dev": "gulp prebuild && cross-env ENV=development webpack",
|
|
"build:dev:watch": "gulp prebuild && cross-env ENV=development webpack serve",
|
|
"build:qa": "gulp prebuild && cross-env NODE_ENV=production ENV=qa webpack",
|
|
"build:qa:watch": "gulp prebuild && cross-env NODE_ENV=production ENV=qa webpack serve",
|
|
"build:prod": "gulp prebuild && cross-env NODE_ENV=production ENV=production webpack",
|
|
"build:prod:watch": "gulp prebuild && cross-env NODE_ENV=production ENV=production webpack serve",
|
|
"build:selfhost": "gulp prebuild && cross-env SELF_HOST=true webpack serve",
|
|
"build:selfhost:watch": "gulp prebuild && cross-env SELF_HOST=true webpack serve",
|
|
"build:selfhost:prod": "gulp prebuild && cross-env SELF_HOST=true NODE_ENV=production webpack",
|
|
"build:selfhost:prod:watch": "gulp prebuild && cross-env SELF_HOST=true NODE_ENV=production webpack serve",
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
|
"dist": "npm run build:prod && gulp postdist",
|
|
"dist:selfhost": "npm run build:selfhost:prod && 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"
|
|
}
|
|
}
|