mirror of
https://github.com/bitwarden/browser
synced 2024-12-22 07:57:01 +01:00
34 lines
2.0 KiB
JSON
34 lines
2.0 KiB
JSON
{
|
|
"name": "@bitwarden/browser",
|
|
"version": "2024.9.1",
|
|
"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: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": "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:coverage": "jest --coverage --coverageDirectory=coverage",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|