forked from darkreader/darkreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 5.06 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "darkreader",
"version": "4.9.99",
"description": "Dark mode for every website",
"scripts": {
"api": "node --max-old-space-size=3072 tasks/cli.js build --api",
"build": "node --max-old-space-size=3072 tasks/cli.js build --release",
"build:all": "node --max-old-space-size=3072 tasks/cli.js build --debug --release --api",
"build:firefox": "node --max-old-space-size=3072 tasks/cli.js build --release --firefox",
"build:plus": "node --max-old-space-size=3072 tasks/cli.js build --plus --release",
"code-style": "npm run lint",
"debug": "node --max-old-space-size=3072 tasks/cli.js build --debug",
"debug:watch": "node --max-old-space-size=3072 tasks/cli.js build --debug --watch --chrome --firefox",
"debug:watch:mv3": "node --max-old-space-size=3072 tasks/cli.js build --debug --watch --chrome-mv3",
"debug:watch:plus": "node --max-old-space-size=3072 tasks/cli.js build --debug --watch --plus --chrome",
"dependencies:upgrade": "node tasks/dependencies.js",
"lint": "eslint --ignore-pattern '!.eslint-plugin-local.js' -- 'src/**/*.ts' 'src/**/*.tsx' 'tasks/**/*.js' 'tests/[!coverage]**/*.js' 'tests/**/*.ts' '.eslintrc.js' 'index.d.ts'",
"lint:bundle": "(node ./tasks/check-exists.js ./build/debug/chrome || node tasks/build.js --debug --api --chrome) && eslint -- 'build/debug/chrome/**/*.js' 'darkreader.js'",
"plus-link": "cd src && ln -s ../../darkreader-plus plus",
"prepublishOnly": "npm test && npm run api",
"release": "npm test && npm run lint && node tasks/cli.js build --release",
"test": "npm run test:unit",
"test:all": "npm run test:unit; npm run test:browser; npm run test:inject",
"test:browser": "npm run test:chrome && npm run test:chrome-mv3 && npm run test:firefox",
"test:chrome": "node tasks/cli.js build --debug --test --chrome-mv2 && jest --config=tests/browser/jest.config.mjs --runInBand",
"test:chrome-mv3": "node tasks/cli.js build --debug --test --chrome-mv3 && jest --config=tests/browser/jest.config.chrome-mv3.mjs --runInBand",
"test:ci": "npm run test:unit",
"test:coverage": "jest --config=tests/unit/jest.config.mjs --coverage",
"test:firefox": "node tasks/cli.js build --debug --test --firefox-mv2 && jest --config=tests/browser/jest.config.firefox.mjs --runInBand",
"test:inject": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.cjs",
"test:inject:debug": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.cjs --debug",
"test:unit": "jest --config=tests/unit/jest.config.mjs",
"test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/unit/jest.config.mjs --runInBand --no-cache --watch",
"translate-en-message": "node ./tasks/translate.js --message",
"translate-new-en-messages": "node ./tasks/translate.js --new-messages",
"deno:bootstrap": "deno run --allow-read=./ --allow-sys=uid --allow-write=deno.json tasks/deno.js"
},
"main": "darkreader.js",
"repository": {
"type": "git",
"url": "https://github.com/darkreader/darkreader.git"
},
"author": "Alexander Shutau <[email protected]> (https://darkreader.org/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/darkreader/darkreader/issues"
},
"keywords": [
"dark-theme",
"dark-mode",
"night-mode",
"darkmode",
"nightmode",
"accessibility",
"eye-care"
],
"homepage": "https://darkreader.org/",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/darkreader/donate"
},
"dependencies": {
"@eslint/config-inspector": "^0.5.6",
"@eslint/migrate-config": "^1.3.4",
"malevic": "0.20.2"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-replace": "6.0.1",
"@rollup/plugin-typescript": "12.1.1",
"@types/chrome": "0.0.283",
"@types/eslint": "9.6.1",
"@types/jasmine": "5.1.4",
"@types/jest": "29.5.14",
"@types/karma": "6.3.9",
"@types/karma-coverage": "2.0.3",
"@types/node": "22.9.0",
"@types/ws": "8.5.13",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"chokidar": "4.0.1",
"eslint": "8.57.1",
"eslint-plugin-compat": "6.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-local": "3.2.1",
"globby": "14.0.2",
"jasmine-core": "5.4.0",
"jest": "29.7.0",
"jest-extended": "4.0.2",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-firefox-launcher": "2.1.3",
"karma-jasmine": "5.1.0",
"karma-rollup-preprocessor": "7.0.8",
"karma-safari-launcher": "1.0.0",
"karma-spec-reporter": "0.0.36",
"less": "4.2.0",
"prettier": "3.3.3",
"puppeteer-core": "23.8.0",
"rollup": "4.27.3",
"rollup-plugin-istanbul": "5.0.0",
"ts-jest": "29.2.5",
"tslib": "2.8.1",
"typescript": "5.6.3",
"web-ext": "8.3.0",
"ws": "8.18.0",
"yazl": "3.3.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.27.3",
"@rollup/rollup-win32-x64-msvc": "4.28.1"
}
}