-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.34 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.34 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
26
27
28
29
30
{
"name": "six-indicator",
"version": "1.6.0",
"packageManager": "yarn@4.12.0",
"type": "module",
"scripts": {
"clean": "rimraf build",
"copy": "copyfiles -u 1 -e \"**/*.js\" -e \"**/*.ts\" -e \"**/manifest*.json\" \"src/**/*\" build",
"build:ts": "tsc",
"build:manifest:ff": "node build-manifest.mjs --name 'firefox'",
"build:manifest:chrome": "node build-manifest.mjs --name 'chrome'",
"build:webext:ff": "web-ext build --filename '{name}-{version}-ff.zip'",
"build:webext:chrome": "web-ext build --filename '{name}-{version}-chrome.zip'",
"dev:webext": "web-ext build --filename '{name}-{version}-snapshot.zip' --overwrite-dest",
"build": "yarn clean && yarn copy && yarn build:ts && yarn build:manifest:ff && yarn build:webext:ff && yarn build:manifest:chrome && yarn build:webext:chrome",
"dev-ff": "yarn clean && yarn copy && yarn build:ts && yarn build:manifest:ff && yarn dev:webext",
"dev-chrome": "yarn clean && yarn copy && yarn build:ts && yarn build:manifest:chrome && yarn dev:webext"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.13",
"@types/chrome": "^0.1.32",
"@types/copyfiles": "^2.4.4",
"@types/firefox-webext-browser": "^143.0.0",
"commander": "^14.0.2",
"copyfiles": "^2.4.1",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"web-ext": "^9.2.0"
}
}