-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 1.36 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
{
"name": "yt-subtitles",
"author": {
"name": "54ac",
"email": "[email protected]",
"url": "https://github.com/54ac"
},
"repository": "github:54ac/yt-subtitles",
"version": "1.0.0",
"type": "module",
"private": true,
"devDependencies": {
"@parcel/config-webextension": "^2.8.3",
"@types/chrome": "^0.0.268",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"cpy-cli": "^5.0.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"parcel": "^2.8.3",
"prettier": "^3.1.0",
"rimraf": "^5.0.1",
"typescript": "^5.0.4"
},
"scripts": {
"build": "npm run build:firefox && npm run build:chrome",
"build:firefox": "cpy -u 1 src/manifest-firefox.json . --rename=manifest.json && rimraf dist && parcel build src/manifest.json --config @parcel/config-webextension --no-source-maps && rimraf src/manifest.json",
"build:chrome": "cpy -u 1 src/manifest-chrome.json . --rename=manifest.json && rimraf dist-chrome && parcel build src/manifest.json --config @parcel/config-webextension --no-source-maps --dist-dir=dist-chrome && rimraf src/manifest.json",
"start": "cpy -u 1 src/manifest-firefox.json . --rename=manifest.json && rimraf dist && parcel watch src/manifest.json --host localhost --config @parcel/config-webextension && rimraf src/manifest.json"
},
"browserslist": "firefox 115"
}