-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
25 lines (25 loc) · 1.06 KB
/
package.json
File metadata and controls
25 lines (25 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"scripts": {
"test": "jest --watch",
"bump": "node scripts/bump-manifest-version.js",
"clean:builds": "rm -rf builds/*.zip",
"dev:chromium": "npm run clean:builds && cp manifest-chromium.json extension/manifest.json && node scripts/compress-extension.js chromium",
"dev:firefox": "npm run clean:builds && cp manifest-firefox.json extension/manifest.json && node scripts/compress-extension.js firefox",
"build:chromium": "cp manifest-chromium.json extension/manifest.json && node scripts/compress-extension.js chromium",
"build:firefox": "cp manifest-firefox.json extension/manifest.json && node scripts/compress-extension.js firefox",
"build": "npm run clean:builds && npm run build:chromium && npm run build:firefox",
"release": "npm run bump && npm run build:chromium && npm run build:firefox"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"babel-jest": "^29.7.0",
"bestzip": "^2.2.1",
"jest": "^29.7.0"
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
}
}
}