2016-09-01 04:47:37 +02:00
|
|
|
{
|
2022-01-17 17:26:35 +01:00
|
|
|
"name": "@bitwarden/browser",
|
2024-11-21 17:14:06 +01:00
|
|
|
"version": "2024.11.2",
|
2017-08-31 21:07:39 +02:00
|
|
|
"scripts": {
|
2024-11-19 14:25:30 +01:00
|
|
|
"build": "npm run build:chrome",
|
|
|
|
"build:chrome": "cross-env BROWSER=chrome MANIFEST_VERSION=3 webpack",
|
|
|
|
"build:edge": "cross-env BROWSER=edge webpack",
|
|
|
|
"build:firefox": "cross-env BROWSER=firefox webpack",
|
|
|
|
"build:opera": "cross-env BROWSER=opera webpack",
|
|
|
|
"build:safari": "cross-env BROWSER=safari webpack",
|
2024-08-15 16:54:18 +02:00
|
|
|
"build:watch": "npm run build:watch:chrome",
|
2024-11-19 14:25:30 +01:00
|
|
|
"build:watch:chrome": "npm run build:chrome -- --watch",
|
|
|
|
"build:watch:edge": "npm run build:edge -- --watch",
|
|
|
|
"build:watch:firefox": "npm run build:firefox -- --watch",
|
|
|
|
"build:watch:opera": "npm run build:opera -- --watch",
|
|
|
|
"build:watch:safari": "npm run build:safari -- --watch",
|
|
|
|
"build:prod:chrome": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:chrome",
|
|
|
|
"build:prod:edge": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:edge",
|
|
|
|
"build:prod:firefox": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:firefox",
|
|
|
|
"build:prod:opera": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:opera",
|
|
|
|
"build:prod:safari": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:safari",
|
2024-11-19 17:25:35 +01:00
|
|
|
"dist:chrome": "npm run build:prod:chrome && mkdir -p dist && ./scripts/compress.ps1 dist-chrome.zip",
|
|
|
|
"dist:edge": "npm run build:prod:edge && mkdir -p dist && ./scripts/compress.ps1 dist-edge.zip",
|
|
|
|
"dist:firefox": "npm run build:prod:firefox && mkdir -p dist && ./scripts/compress.ps1 dist-firefox.zip",
|
|
|
|
"dist:opera": "npm run build:prod:opera && mkdir -p dist && ./scripts/compress.ps1 dist-opera.zip",
|
2024-11-19 14:25:30 +01:00
|
|
|
"dist:safari": "npm run build:prod:safari && ./scripts/package-safari.ps1",
|
|
|
|
"dist:edge:mv3": "cross-env MANIFEST_VERSION=3 npm run dist:edge",
|
|
|
|
"dist:firefox:mv3": "cross-env MANIFEST_VERSION=3 npm run dist:firefox",
|
|
|
|
"dist:opera:mv3": "cross-env MANIFEST_VERSION=3 npm run dist:opera",
|
|
|
|
"dist:safari:mv3": "cross-env MANIFEST_VERSION=3 npm run dist:safari",
|
2022-05-10 10:25:35 +02:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"test:watch:all": "jest --watchAll"
|
2016-09-01 04:47:37 +02:00
|
|
|
}
|
|
|
|
}
|