mirror of
https://github.com/bitwarden/browser
synced 2024-12-27 18:34:29 +01:00
2e6031eee9
* Increase heap size for builds * Add cross-env to cli * Add cross-env to desktop * Update apps/web/package.json Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com> --------- Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
31 lines
1.9 KiB
JSON
31 lines
1.9 KiB
JSON
{
|
|
"name": "@bitwarden/web-vault",
|
|
"version": "2024.12.1",
|
|
"scripts": {
|
|
"build:oss": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" webpack",
|
|
"build:bit": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" 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 NODE_OPTIONS=\"--max-old-space-size=8192\" npm run build:bit:watch",
|
|
"build:bit:qa": "cross-env NODE_ENV=production ENV=qa npm run build:bit",
|
|
"build:bit:euprd": "cross-env NODE_ENV=production ENV=euprd npm run build:bit",
|
|
"build:bit:euqa": "cross-env NODE_ENV=production ENV=euqa npm run build:bit",
|
|
"build:bit:usdev": "cross-env NODE_ENV=production ENV=usdev 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",
|
|
"build:bit:ee": "cross-env NODE_ENV=production ENV=ee 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"
|
|
}
|
|
}
|