mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-03 08:49:50 +01:00
34f33ebb54
* Configure jest for web * attempt to fix linter fule preventing angular core imports * trial initiation tests * small trial initiation component fix * Small naming fix in tests
27 lines
1.5 KiB
JSON
27 lines
1.5 KiB
JSON
{
|
|
"name": "@bitwarden/web-vault",
|
|
"version": "2022.8.0",
|
|
"scripts": {
|
|
"build:oss": "webpack",
|
|
"build:bit": "webpack -c ../../bitwarden_license/bit-web/webpack.config.js",
|
|
"build:oss:watch": "webpack serve",
|
|
"build:bit:watch": "webpack serve -c ../../bitwarden_license/bit-web/webpack.config.js",
|
|
"build:bit:dev": "cross-env ENV=development npm run build:bit",
|
|
"build:bit:dev:analyze": "cross-env LOGGING=false webpack -c ../../bitwarden_license/bit-web/webpack.config.js --profile --json > stats.json && npx webpack-bundle-analyzer stats.json build/",
|
|
"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",
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
|
"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",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|