-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 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
{
"name": "opentitles.client",
"private": true,
"version": "2.17.0",
"engines": {
"node": ">=20"
},
"scripts": {
"test": "jasmine-ts --config=jasmine.config.json",
"lint": "eslint \"./src/**/*.ts\" --max-warnings 2",
"build": "npm run build-chrome && npm run build-firefox",
"build-chrome": "parcel build src/**/*.ts --no-optimize --no-cache --no-source-maps --dist-dir dist-chrome && cpx \"src/static/**/*.{html,eot,svg,ttf,woff,woff2,png,css,json}\" \"dist-chrome\" && node ./.github/chromifyManifest.js",
"build-firefox": "parcel build src/**/*.ts --no-optimize --no-cache --no-source-maps --dist-dir dist-firefox && cpx \"src/static/**/*.{html,eot,svg,ttf,woff,woff2,png,css,json}\" \"dist-firefox\"",
"package": "npm run package-chrome && npm run package-firefox",
"package-chrome": "crx3 -z OpenTitles-Chrome.zip -o OpenTitles-Chrome.crx dist-chrome",
"package-firefox": "crx3 -z OpenTitles-Firefox.zip -o OpenTitles-Firefox.crx dist-firefox",
"publish-chrome": "chrome-webstore-upload upload --source OpenTitles-Chrome.zip --auto-publish --extension-id ipcpballelfolmocdhfjijgmbljachog --client-id $CWS_CLIENT_ID --client-secret $CWS_CLIENT_SECRET --refresh-token $CWS_REFRESH_TOKEN || true",
"publish-firefox": "web-ext-submit --api-key=$FF_API_KEY --api-secret=$FF_API_SECRET --source-dir dist-firefox || true"
},
"dependencies": {},
"devDependencies": {
"@parcel/config-default": "2.12.0",
"@parcel/transformer-typescript-tsc": "2.12.0",
"@types/chrome": "0.0.268",
"@types/firefox-webext-browser": "120.0.3",
"@types/jasmine": "3.10.18 <4",
"@types/jsdom": "21.1.7",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "7.13.0",
"@typescript-eslint/parser": "7.13.0",
"chrome-webstore-upload-cli": "3.3.0",
"cpx": "1.5.0",
"crx3": "1.1.3",
"eslint": "8.57.0",
"jasmine": "3.99.0 <4",
"jasmine-spec-reporter": "7.0.0",
"jasmine-ts": "0.4.0",
"jsdom": "24.1.0",
"parcel": "2.12.0",
"parcel-reporter-static-files-copy": "1.5.3",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"web-ext": "8.1.0",
"web-ext-submit": "7.8.0"
},
"browserslist": [
"last 1 Chrome versions"
]
}