-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.26 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
{
"name": "open-links-in-new-tab",
"scripts": {
"postinstall": "npx gulp",
"lint:eslint": "npx eslint src/js",
"lint:web-ext": "npm run manifest:firefox && npx web-ext lint --source-dir ./src/ --ignore-files dist/**",
"lint": "npm run lint:eslint && npm run lint:web-ext",
"chrome": "npm run manifest:chrome && web-ext run --source-dir ./src/ --target=chromium",
"firefox": "npm run manifest:firefox && web-ext run --source-dir ./src/",
"manifest:chrome": "npx json-merger -p -am concat -o src/manifest.json manifest.json manifest-chrome.json",
"manifest:firefox": "npx json-merger -p -am concat -o src/manifest.json manifest.json manifest-firefox.json",
"build:chrome": "npm run manifest:chrome && npx web-ext build -n {name}-chrome-{version}.zip -o -s src",
"build:firefox": "npm run manifest:firefox && npx web-ext build -n {name}-firefox-{version}.zip -o -s src",
"build": "npm run build:chrome && npm run build:firefox"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"bootstrap": "^5.3.3",
"jquery": "^3.7.1"
},
"devDependencies": {
"@types/chrome": "^0.0.268",
"eslint": "^8.57.0",
"gulp": "^4.0.2",
"json-merger": "^1.1.10",
"prettier": "^3.3.3",
"web-ext": "^8.2.0"
}
}