-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
51 lines (51 loc) · 2.09 KB
/
package.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"scripts": {
"create-browser-action": "node ./scripts/create-browser-action.js",
"create-store-description": "node ./scripts/create-store-description.mjs",
"release": "node ./scripts/release.js",
"prebuild": "npm run create-browser-action",
"build": "node ./scripts/build.js",
"build-mv2": "node ./scripts/build.js 2",
"build-mv3": "node ./scripts/build.js 3",
"lint-mv2": "npm run copy-mv2 && web-ext lint",
"lint-mv3": "npm run copy-mv3 && web-ext lint",
"copy-mv2": "node ./scripts/copy.js manifest.mv2.json manifest.json",
"copy-mv3": "node ./scripts/copy.js manifest.mv3.json manifest.json",
"start": "npm run firefox",
"prefirefox": "npm run create-browser-action && npm run copy-mv2",
"firefox": "web-ext run --start-url https://www.youtube.com",
"prechrome": "npm run create-browser-action && npm run copy-mv3",
"chrome": "web-ext run --target chromium --start-url https://www.youtube.com",
"preedge": "npm run create-browser-action && npm run copy-mv3",
"edge": "web-ext run --target chromium --chromium-binary \"C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe\" --start-url https://www.youtube.com",
"preedge-mac": "npm run create-browser-action && npm run copy-mv3",
"edge-mac": "web-ext run --target chromium --chromium-binary \"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge\" --start-url https://www.youtube.com",
"preandroid": "npm run create-browser-action && npm run copy-mv2",
"android": "web-ext run -t firefox-android --firefox-apk org.mozilla.fenix"
},
"webExt": {
"ignoreFiles": [
"*.md",
"icons/chrome-webstore-icon.png",
"icons/icon.svg",
"icons/icon256.png",
"icons/icon512.png",
"icons/toolbar-*.png",
"jsconfig.json",
"manifest.mv2.json",
"manifest.mv3.json",
"package.json",
"safari/",
"screenshots/",
"scripts/",
"types.d.ts"
]
},
"devDependencies": {
"@types/chrome": "0.0.x",
"@types/greasemonkey": "4.x",
"clipboardy": "4.x",
"semver": "7.x",
"web-ext": "8.x"
}
}