mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
8fbdd8d22e
* [PM-10667] Implement manifest v3 on Firefox and Safari * [PM-10667] Fixing issues with CORS present in sandboxed iframe on Firefox * [PM-10667] Updating gulp build process to ensure dist files are created correctly * [PM-10667] Adding build processes to the Github workflow * [PM-10667] Removing faulty Safari mv3 build workflow * [PM-10667] Fixing jest tests * [PM-10667] Reworking logic within inline menu * Update apps/browser/webpack.config.js Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com> --------- Co-authored-by: Jonathan Prusik <jprusik@users.noreply.github.com>
34 lines
2.0 KiB
JSON
34 lines
2.0 KiB
JSON
{
|
|
"name": "@bitwarden/browser",
|
|
"version": "2024.8.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: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 MANIFEST_VERSION=3 npm run build:prod && cross-env MANIFEST_VERSION=3 gulp dist:safari",
|
|
"dist:safari:mv3": "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"
|
|
}
|
|
}
|