1 | {
|
2 | "name": "darkreader",
|
3 | "version": "4.9.27",
|
4 | "description": "Dark mode for every website",
|
5 | "scripts": {
|
6 | "api": "node tasks/build.js --api",
|
7 | "benchmark-server": "node tests/benchmark-server/index.js",
|
8 | "build": "node tasks/build.js --release",
|
9 | "code-style": "eslint --cache --fix \"src/**/*.ts\" \"src/**/*.tsx\" \"tasks/**/*.js\" \"tests/**/*.js\" \"tests/**/*.ts\" \".eslintrc.js\" \"index.d.ts\"",
|
10 | "debug": "node tasks/build.js --debug",
|
11 | "debug-watch": "node tasks/build.js --debug --watch",
|
12 | "lint": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" \"tasks/**/*.js\" \"tests/**/*.ts\" \"tests/**/*.js\" \"index.d.ts\"",
|
13 | "prepublishOnly": "npm test && npm run api",
|
14 | "release": "npm test && npm run lint && node tasks/build.js --release",
|
15 | "test": "jest --config=tests/jest.config.js",
|
16 | "test:browser": "npm run debug && jest --config=tests/browser/jest.config.js --runInBand",
|
17 | "test:chrome": "npm run debug && jest --config=tests/browser/jest.config.chrome.js --runInBand",
|
18 | "test:config": "jest --config=tests/config/jest.config.js",
|
19 | "test:config:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/config/jest.config.js --runInBand --no-cache --watch",
|
20 | "test:coverage": "jest --config=tests/jest.config.js --coverage",
|
21 | "test:firefox": "npm run debug && jest --config=tests/browser/jest.config.firefox.js --runInBand",
|
22 | "test:inject": "node tests/inject/run.js",
|
23 | "test:inject:debug": "node tests/inject/run.js --debug",
|
24 | "test:utils": "jest --config=tests/utils/jest.config.js",
|
25 | "test:utils:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/utils/jest.config.js --runInBand --no-cache --watch"
|
26 | },
|
27 | "main": "darkreader.js",
|
28 | "repository": {
|
29 | "type": "git",
|
30 | "url": "https://github.com/darkreader/darkreader.git"
|
31 | },
|
32 | "author": "Alexander Shutau <darkreaderapp@gmail.com> (https://darkreader.org/)",
|
33 | "license": "MIT",
|
34 | "bugs": {
|
35 | "url": "https://github.com/darkreader/darkreader/issues"
|
36 | },
|
37 | "keywords": [
|
38 | "dark-theme",
|
39 | "dark-mode",
|
40 | "night-mode",
|
41 | "darkmode",
|
42 | "nightmode",
|
43 | "accessibility",
|
44 | "eye-care"
|
45 | ],
|
46 | "browserslist": [
|
47 | "supports es5",
|
48 | "not ie > 0",
|
49 | "not ie_mob > 0",
|
50 | "not op_mini all",
|
51 | "not op_mob < 59",
|
52 | "not android < 50",
|
53 | "not ios_saf < 6",
|
54 | "not safari < 9.3",
|
55 | "not opera < 36",
|
56 | "not chrome < 49",
|
57 | "not firefox < 33",
|
58 | "not edge <= 18"
|
59 | ],
|
60 | "homepage": "https://darkreader.org/",
|
61 | "funding": {
|
62 | "type": "opencollective",
|
63 | "url": "https://opencollective.com/darkreader"
|
64 | },
|
65 | "devDependencies": {
|
66 | "@rollup/plugin-commonjs": "17.0.0",
|
67 | "@rollup/plugin-node-resolve": "11.1.0",
|
68 | "@rollup/plugin-replace": "2.3.4",
|
69 | "@rollup/pluginutils": "4.1.0",
|
70 | "@types/chrome": "0.0.128",
|
71 | "@types/jasmine": "3.6.3",
|
72 | "@types/jest": "26.0.20",
|
73 | "@types/karma": "5.0.1",
|
74 | "@types/node": "14.14.22",
|
75 | "@types/puppeteer-core": "5.4.0",
|
76 | "@typescript-eslint/eslint-plugin": "4.14.0",
|
77 | "@typescript-eslint/parser": "4.14.0",
|
78 | "chokidar": "3.5.1",
|
79 | "eslint": "7.18.0",
|
80 | "eslint-plugin-local": "1.0.0",
|
81 | "fs-extra": "9.1.0",
|
82 | "globby": "11.0.2",
|
83 | "jasmine-core": "3.6.0",
|
84 | "jest": "26.6.3",
|
85 | "karma": "6.0.0",
|
86 | "karma-chrome-launcher": "3.1.0",
|
87 | "karma-coverage": "2.0.3",
|
88 | "karma-firefox-launcher": "2.1.0",
|
89 | "karma-jasmine": "4.0.1",
|
90 | "karma-rollup-preprocessor": "7.0.5",
|
91 | "karma-safari-launcher": "1.0.0",
|
92 | "less": "4.1.0",
|
93 | "malevic": "0.18.6",
|
94 | "prettier": "2.2.1",
|
95 | "puppeteer-core": "5.5.0",
|
96 | "rollup": "2.37.0",
|
97 | "rollup-plugin-istanbul2": "2.0.2",
|
98 | "rollup-plugin-typescript2": "0.29.0",
|
99 | "ts-jest": "26.4.4",
|
100 | "ts-node": "9.1.1",
|
101 | "tsconfig-paths": "3.9.0",
|
102 | "typescript": "4.1.3",
|
103 | "web-ext": "5.5.0",
|
104 | "ws": "7.4.2",
|
105 | "yazl": "2.5.1"
|
106 | }
|
107 | }
|