forked from darkreader/darkreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4.19 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
{
"name": "darkreader",
"version": "4.9.48",
"description": "Dark mode for every website",
"scripts": {
"api": "node tasks/build.js --api",
"benchmark-server": "node tests/benchmark-server/index.js",
"build": "node tasks/build.js --release",
"build:all": "node tasks/build.js --debug --release --api",
"code-style": "eslint --ignore-pattern '!.eslintplugin.js' --cache --fix -- 'src/**/*.ts' 'src/**/*.tsx' 'tasks/**/*.js' 'tests/[!coverage]**/*.js' 'tests/**/*.ts' '.eslintrc.js' 'index.d.ts' '.eslintplugin.js'",
"debug": "node tasks/build.js --debug",
"debug:watch": "node tasks/build.js --debug --watch",
"lint": "eslint --ignore-pattern '!.eslintplugin.js' -- 'src/**/*.ts' 'src/**/*.tsx' 'tasks/**/*.js' 'tests/**/*.ts' 'tests/[!coverage]**/*.js' 'index.d.ts' '.eslintplugin.js'",
"lint:bundle": "(node ./tasks/check-exists.js ./build/debug/chrome || node tasks/build.js --debug --api) && eslint -- 'build/debug/chrome/**/*.js' 'darkreader.js'",
"prepublishOnly": "npm test && npm run api",
"release": "npm test && npm run lint && node tasks/build.js --release",
"test": "npm run test:unit",
"test:all": "npm run test:unit; npm run test:browser; npm run test:inject; npm run test:project",
"test:browser": "npm run debug && npm run test:chrome && npm run test:firefox",
"test:chrome": "npm run debug && jest --config=tests/browser/jest.config.js --runInBand",
"test:ci": "npm run test:unit",
"test:coverage": "jest --config=tests/unit/jest.config.js --coverage",
"test:firefox": " npm run debug && jest --config=tests/browser/jest.config.firefox.js --runInBand",
"test:inject": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.js",
"test:inject:debug": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.js --debug",
"test:project": "jest --config=tests/project/jest.config.js",
"test:unit": "jest --config=tests/unit/jest.config.js",
"test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/unit/jest.config.js --runInBand --no-cache --watch",
"test:update-snapshots": "npm run test -- --updateSnapshot && npm run test:project -- --updateSnapshot"
},
"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"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-typescript": "8.3.1",
"@rollup/pluginutils": "4.2.0",
"@types/chrome": "0.0.180",
"@types/eslint": "8.4.1",
"@types/jasmine": "4.0.0",
"@types/jest": "27.4.1",
"@types/karma": "6.3.3",
"@types/karma-coverage": "2.0.1",
"@types/node": "17.0.23",
"@types/offscreencanvas": "2019.6.4",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"chokidar": "3.5.3",
"eslint": "8.11.0",
"eslint-plugin-compat": "4.0.2",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-local": "1.0.0",
"get-stream": "6.0.1",
"globby": "13.1.1",
"jasmine-core": "4.0.1",
"jest": "27.5.1",
"jest-extended": "2.0.0",
"karma": "6.3.17",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "4.0.1",
"karma-rollup-preprocessor": "7.0.8",
"karma-safari-launcher": "1.0.0",
"karma-spec-reporter": "0.0.33",
"less": "4.1.2",
"malevic": "0.19.1",
"prettier": "2.6.1",
"puppeteer-core": "13.5.1",
"rollup": "2.70.1",
"rollup-plugin-istanbul2": "2.0.2",
"ts-jest": "27.1.4",
"tslib": "2.3.1",
"typescript": "4.6.3",
"web-ext": "6.8.0",
"ws": "8.5.0",
"yazl": "2.5.1"
}
}