112 lines
3.8 KiB
JSON
112 lines
3.8 KiB
JSON
{
|
|
"name": "@bitwarden/browser",
|
|
"version": "0.0.0",
|
|
"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": "rmdir /S /Q .\\jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
|
"symlink:mac": "npm run symlink:lin",
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
|
"build": "webpack",
|
|
"build:watch": "webpack --watch",
|
|
"build:prod": "cross-env NODE_ENV=production webpack",
|
|
"build:prod:watch": "cross-env NODE_ENV=production webpack --watch",
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
|
"dist": "npm run build:prod && gulp dist",
|
|
"dist:firefox": "npm run build:prod && gulp dist:firefox",
|
|
"dist:opera": "npm run build:prod && gulp dist:opera",
|
|
"dist:safari": "npm run build:prod && gulp dist:safari",
|
|
"dist:safari:mas": "npm run build:prod && gulp dist:safari:mas",
|
|
"dist:safari:masdev": "npm run build:prod && gulp dist:safari:masdev",
|
|
"dist:safari:dmg": "npm run build:prod && gulp dist:safari:dmg",
|
|
"lint": "eslint . && prettier --check .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test": "karma start --single-run",
|
|
"test:watch": "karma start",
|
|
"prettier": "prettier --write .",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "^12.2.13",
|
|
"@ngtools/webpack": "^12.2.13",
|
|
"@types/chrome": "^0.0.139",
|
|
"@types/firefox-webext-browser": "^82.0.0",
|
|
"@types/jasmine": "^3.7.6",
|
|
"@types/mousetrap": "^1.6.8",
|
|
"@types/node": "^16.11.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
"@typescript-eslint/parser": "^5.12.1",
|
|
"buffer": "^6.0.3",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^10.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^6.5.1",
|
|
"del": "^6.0.0",
|
|
"eslint": "^8.9.0",
|
|
"eslint-config-prettier": "^8.4.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"gulp": "^4.0.2",
|
|
"gulp-filter": "^7.0.0",
|
|
"gulp-if": "^3.0.0",
|
|
"gulp-json-editor": "^2.5.5",
|
|
"gulp-replace": "^1.1.0",
|
|
"gulp-zip": "^5.1.0",
|
|
"html-loader": "^3.0.1",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"husky": "^7.0.4",
|
|
"jasmine-core": "^3.7.1",
|
|
"jasmine-spec-reporter": "^7.0.0",
|
|
"karma": "^6.3.2",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-cli": "^2.0.0",
|
|
"karma-jasmine": "^4.0.0",
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
|
"karma-webpack": "^5.0.0",
|
|
"lint-staged": "^12.1.3",
|
|
"mini-css-extract-plugin": "^2.4.5",
|
|
"prettier": "^2.5.1",
|
|
"process": "^0.11.10",
|
|
"sass": "^1.34.1",
|
|
"sass-loader": "^12.4.0",
|
|
"style-loader": "^3.3.1",
|
|
"tapable": "^1.1.3",
|
|
"ts-loader": "^9.2.5",
|
|
"typescript": "4.3.5",
|
|
"url": "^0.11.0",
|
|
"util": "^0.12.4",
|
|
"webpack": "^5.64.4",
|
|
"webpack-cli": "^4.9.1"
|
|
},
|
|
"dependencies": {
|
|
"@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",
|
|
"@bitwarden/jslib-angular": "file:jslib/angular",
|
|
"@bitwarden/jslib-common": "file:jslib/common",
|
|
"core-js": "^3.11.0",
|
|
"date-input-polyfill": "^2.14.0",
|
|
"mousetrap": "^1.6.5",
|
|
"ngx-toastr": "14.1.4",
|
|
"nord": "^0.2.1",
|
|
"sweetalert2": "^10.16.6",
|
|
"web-animations-js": "^2.3.2"
|
|
},
|
|
"engines": {
|
|
"node": "~16",
|
|
"npm": "~8"
|
|
},
|
|
"lint-staged": {
|
|
"./!(jslib)**": "prettier --ignore-unknown --write",
|
|
"*.ts": "eslint --fix"
|
|
}
|
|
}
|