-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 2.57 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
57
58
59
60
61
62
63
64
65
66
67
{
"name": "force-english-content",
"version": "5.0.0",
"description": "[Web Extension] Forces localised web pages with poor or outdated translations to redirect to the original English content",
"repository": "https://github.com/mdesantis/force-english-content",
"author": "Maurizio De Santis <desantis.maurizio@gmail.com>",
"license": "MPL-2.0",
"private": true,
"source": "src/background.ts",
"targets": {
"default": {
"distDir": "dist",
"outputFormat": "global"
}
},
"browserslist": "Firefox ESR, last 10 Chrome versions",
"dependencies": {
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@stylistic/eslint-plugin": "^2.12.1",
"@tsconfig/recommended": "^1.0.8",
"@types/eslint__js": "^8.42.3",
"@types/mocha": "^10.0.10",
"@types/webextension-polyfill": "^0.12.1",
"chrome-webstore-upload-cli": "^3.3.1",
"codecov": "^3.8.3",
"eslint": "^9.17.0",
"eslint-plugin-mocha": "^10.5.0",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"parcel": "^2.13.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.19.0",
"web-ext": "^8.3.0"
},
"scripts": {
"build:assets:icons": "./scripts/build-icons.sh",
"build:assets:static": "mkdir -p dist && cp LICENSE dist",
"build:assets": "npm run build:assets:static && npm run build:assets:icons",
"build:parcel:dev": "parcel build --no-optimize",
"build:parcel": "parcel build",
"build:web-ext": "./scripts/web-ext-builds.sh",
"build": "npm run build:parcel && npm run build:assets && npm run build:web-ext",
"clean:dist": "rm -rf dist dist-*",
"clean:web-ext-artifacts": "rm -rf web-ext-artifacts",
"clean": "npm run clean:dist && npm run clean:web-ext-artifacts",
"lint:eslint": "eslint .",
"lint:tsc": "tsc",
"lint:web-ext": "web-ext lint --source-dir dist-firefox",
"lint": "npm run lint:eslint && npm run lint:tsc && npm run lint:web-ext",
"postversion": "git push && git push --tags",
"preversion": "npm run test && npm run build && npm run lint",
"test:watch": "mocha --watch",
"test": "mocha",
"version:echo": "echo $npm_package_version",
"version": "./scripts/update-manifests-extension-version.sh && git add manifest-firefox.json manifest-chrome.json",
"watch:parcel": "parcel watch",
"web-ext:dev:chrome": "web-ext run --verbose --source-dir dist-chrome --target chromium",
"web-ext:dev:firefox": "web-ext run --verbose --source-dir dist-firefox --target firefox-desktop"
},
"webExt": {
"sourceDir": "dist/"
}
}