mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
4e1958f417
* Support split jslib * Fix tests * Bump jslib
91 lines
3.2 KiB
JSON
91 lines
3.2 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": "gulp build && webpack",
|
|
"build:watch": "gulp build && webpack --watch",
|
|
"build:prod": "gulp build && cross-env NODE_ENV=production webpack",
|
|
"build:prod:watch": "gulp build && 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": "tslint src/**/*.ts || true",
|
|
"lint:fix": "tslint src/**/*.ts --fix",
|
|
"test": "karma start --single-run",
|
|
"test:watch": "karma start"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "^11.2.11",
|
|
"@ngtools/webpack": "^11.2.10",
|
|
"@types/chrome": "^0.0.139",
|
|
"@types/duo_web_sdk": "^2.7.0",
|
|
"@types/firefox-webext-browser": "^82.0.0",
|
|
"@types/jasmine": "^3.7.6",
|
|
"@types/mousetrap": "^1.6.8",
|
|
"@types/node": "^14.17.2",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^6.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^5.2.4",
|
|
"del": "^6.0.0",
|
|
"file-loader": "^6.2.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-filter": "^7.0.0",
|
|
"gulp-google-webfonts": "^4.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": "^1.3.2",
|
|
"html-webpack-plugin": "^4.5.1",
|
|
"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": "^4.0.2",
|
|
"mini-css-extract-plugin": "^1.5.0",
|
|
"sass": "^1.34.1",
|
|
"sass-loader": "^10.1.1",
|
|
"style-loader": "^2.0.0",
|
|
"tapable": "^1.1.3",
|
|
"ts-loader": "^8.1.0",
|
|
"tslint": "^6.1.0",
|
|
"tslint-loader": "^3.5.4",
|
|
"typescript": "4.1.5",
|
|
"webpack": "^4.46.0",
|
|
"webpack-cli": "^4.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@bitwarden/jslib-angular": "file:jslib/angular",
|
|
"@bitwarden/jslib-common": "file:jslib/common",
|
|
"angular2-toaster": "^11.0.1",
|
|
"core-js": "^3.11.0",
|
|
"date-input-polyfill": "^2.14.0",
|
|
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
|
|
"font-awesome": "4.7.0",
|
|
"mousetrap": "^1.6.5",
|
|
"nord": "^0.2.1",
|
|
"sweetalert2": "^10.16.6",
|
|
"web-animations-js": "^2.3.2"
|
|
},
|
|
"engines": {
|
|
"node": "~14",
|
|
"npm": "~7"
|
|
}
|
|
}
|