-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
56 lines (56 loc) · 2.2 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
52
53
54
55
56
{
"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://twitter.com",
"prechrome": "npm run create-browser-action && npm run copy-mv3",
"chrome": "web-ext run --target chromium --start-url https://twitter.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://twitter.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://twitter.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": [
"CONTRIBUTING.md",
"PRIVACY_POLICY.md",
"README.md",
"icons/chrome-web-store-icon.png",
"icons/icon.svg",
"icons/icon256.png",
"icons/icon512.png",
"icons/icon600.png",
"icons/toolbar-*.png",
"jsconfig.json",
"manifest.mv2.json",
"manifest.mv3.json",
"package-lock.json",
"package.json",
"promo/",
"safari/",
"screenshots/",
"scripts/",
"types.d.ts"
]
},
"devDependencies": {
"@types/chrome": "0.0.x",
"@types/greasemonkey": "4.x",
"clipboardy": "3.x",
"semver": "7.x",
"web-ext": "7.x"
}
}