mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
af6a2f5553
Part of the browser build script refactor effort. bitwarden.atlassian.net/browse/PM-6683 The beta logic adds a fair bit of complexity and is currently unused. Let’s remove it and we can look into re-add it after migrating to our new build system.
30 lines
1.7 KiB
JSON
30 lines
1.7 KiB
JSON
{
|
|
"name": "@bitwarden/browser",
|
|
"version": "2024.11.0",
|
|
"scripts": {
|
|
"build": "cross-env MANIFEST_VERSION=3 webpack",
|
|
"build:mv2": "webpack",
|
|
"build:watch": "npm run build:watch:chrome",
|
|
"build:watch:chrome": "cross-env MANIFEST_VERSION=3 BROWSER=chrome webpack --watch",
|
|
"build:watch:firefox": "cross-env MANIFEST_VERSION=3 BROWSER=firefox webpack --watch",
|
|
"build:watch:safari": "cross-env MANIFEST_VERSION=3 BROWSER=safari webpack --watch",
|
|
"build:watch:mv2": "webpack --watch",
|
|
"build:prod": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" webpack",
|
|
"build:prod:watch": "cross-env NODE_ENV=production webpack --watch",
|
|
"dist": "npm run build:prod && gulp dist",
|
|
"dist:mv3": "cross-env MANIFEST_VERSION=3 npm run build:prod && cross-env MANIFEST_VERSION=3 gulp dist",
|
|
"dist:chrome": "npm run build:prod && gulp dist:chrome",
|
|
"dist:chrome:beta": "cross-env MANIFEST_VERSION=3 npm run build:prod:beta && cross-env MANIFEST_VERSION=3 BETA_BUILD=1 gulp dist:chrome",
|
|
"dist:firefox": "npm run build:prod && gulp dist:firefox",
|
|
"dist:opera": "npm run build:prod && gulp dist:opera",
|
|
"dist:safari": "cross-env BROWSER=safari npm run build:prod && gulp dist:safari",
|
|
"dist:safari:mv3": "cross-env MANIFEST_VERSION=3 BROWSER=safari run build:prod && cross-env MANIFEST_VERSION=3 BROWSER=safari 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",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|