mirror of
https://github.com/bitwarden/browser
synced 2024-12-15 19:03:25 +01:00
174f4072cc
* Add in NODE_OPTIONS for Build Safari job * BRE-219 REFACTOR: Set--max-old-space-size in package.json build:prod script --------- Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
30 lines
1.6 KiB
JSON
30 lines
1.6 KiB
JSON
{
|
|
"name": "@bitwarden/browser",
|
|
"version": "2024.7.1",
|
|
"scripts": {
|
|
"build": "cross-env MANIFEST_VERSION=3 webpack",
|
|
"build:mv2": "webpack",
|
|
"build:watch": "cross-env MANIFEST_VERSION=3 webpack --watch",
|
|
"build:watch:mv2": "webpack --watch",
|
|
"build:prod": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" webpack",
|
|
"build:prod:beta": "cross-env BETA_BUILD=1 NODE_ENV=production webpack",
|
|
"build:prod:watch": "cross-env NODE_ENV=production webpack --watch",
|
|
"dist": "npm run build:prod && gulp dist",
|
|
"dist:beta": "npm run build:prod:beta && cross-env BETA_BUILD=1 gulp dist",
|
|
"dist:mv3": "cross-env MANIFEST_VERSION=3 npm run build:prod && cross-env MANIFEST_VERSION=3 gulp dist",
|
|
"dist:mv3:beta": "cross-env MANIFEST_VERSION=3 npm run build:prod:beta && cross-env MANIFEST_VERSION=3 BETA_BUILD=1 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": "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",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage --coverageDirectory=coverage",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|