1 | {
|
2 | "name": "darkreader",
|
3 | "version": "4.9.58",
|
4 | "description": "Dark mode for every website",
|
5 | "scripts": {
|
6 | "api": "node tasks/build.js --api",
|
7 | "build": "node tasks/build.js --release",
|
8 | "build:all": "node tasks/build.js --debug --release --api",
|
9 | "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'",
|
10 | "debug": "node tasks/build.js --debug",
|
11 | "debug:watch": "node tasks/build.js --debug --watch",
|
12 | "lint": "eslint --ignore-pattern '!.eslintplugin.js' -- 'src/**/*.ts' 'src/**/*.tsx' 'tasks/**/*.js' 'tests/**/*.ts' 'tests/[!coverage]**/*.js' 'index.d.ts' '.eslintplugin.js'",
|
13 | "lint:bundle": "(node ./tasks/check-exists.js ./build/debug/chrome || node tasks/build.js --debug --api --chrome) && eslint -- 'build/debug/chrome/**/*.js' 'darkreader.js'",
|
14 | "prepublishOnly": "npm test && npm run api",
|
15 | "release": "npm test && npm run lint && node tasks/build.js --release",
|
16 | "test": "npm run test:unit",
|
17 | "test:all": "npm run test:unit; npm run test:browser; npm run test:inject; npm run test:project",
|
18 | "test:browser": "npm run debug && npm run test:chrome && npm run test:firefox",
|
19 | "test:chrome": "npm run debug -- --test --chrome && jest --config=tests/browser/jest.config.mjs --runInBand",
|
20 | "test:ci": "npm run test:unit",
|
21 | "test:coverage": "jest --config=tests/unit/jest.config.mjs --coverage",
|
22 | "test:firefox": " npm run debug -- --test --firefox && jest --config=tests/browser/jest.config.firefox.mjs --runInBand",
|
23 | "test:inject": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.cjs",
|
24 | "test:inject:debug": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.cjs --debug",
|
25 | "test:project": "jest --config=tests/project/jest.config.js",
|
26 | "test:unit": "jest --config=tests/unit/jest.config.mjs",
|
27 | "test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/unit/jest.config.mjs --runInBand --no-cache --watch",
|
28 | "test:update-snapshots": "npm run test -- --updateSnapshot && npm run test:project -- --updateSnapshot",
|
29 | "translate-line": "node ./tasks/translate.js --line"
|
30 | },
|
31 | "main": "darkreader.js",
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "https://github.com/darkreader/darkreader.git"
|
35 | },
|
36 | "author": "Alexander Shutau <darkreaderapp@gmail.com> (https://darkreader.org/)",
|
37 | "license": "MIT",
|
38 | "bugs": {
|
39 | "url": "https://github.com/darkreader/darkreader/issues"
|
40 | },
|
41 | "keywords": [
|
42 | "dark-theme",
|
43 | "dark-mode",
|
44 | "night-mode",
|
45 | "darkmode",
|
46 | "nightmode",
|
47 | "accessibility",
|
48 | "eye-care"
|
49 | ],
|
50 | "homepage": "https://darkreader.org/",
|
51 | "funding": {
|
52 | "type": "opencollective",
|
53 | "url": "https://opencollective.com/darkreader/donate"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@rollup/plugin-node-resolve": "14.1.0",
|
57 | "@rollup/plugin-replace": "4.0.0",
|
58 | "@rollup/plugin-typescript": "8.5.0",
|
59 | "@rollup/pluginutils": "4.2.1",
|
60 | "@types/chrome": "0.0.197",
|
61 | "@types/eslint": "8.4.6",
|
62 | "@types/jasmine": "4.3.0",
|
63 | "@types/jest": "29.0.3",
|
64 | "@types/karma": "6.3.3",
|
65 | "@types/karma-coverage": "2.0.1",
|
66 | "@types/node": "18.7.18",
|
67 | "@types/offscreencanvas": "2019.7.0",
|
68 | "@typescript-eslint/eslint-plugin": "5.38.0",
|
69 | "@typescript-eslint/parser": "5.38.0",
|
70 | "chokidar": "3.5.3",
|
71 | "eslint": "8.23.1",
|
72 | "eslint-plugin-compat": "4.0.2",
|
73 | "eslint-plugin-import": "2.26.0",
|
74 | "eslint-plugin-local": "1.0.0",
|
75 | "get-stream": "6.0.1",
|
76 | "globby": "13.1.2",
|
77 | "jasmine-core": "4.4.0",
|
78 | "jest": "29.0.3",
|
79 | "jest-extended": "3.1.0",
|
80 | "karma": "6.4.1",
|
81 | "karma-chrome-launcher": "3.1.1",
|
82 | "karma-coverage": "2.2.0",
|
83 | "karma-firefox-launcher": "2.1.2",
|
84 | "karma-jasmine": "5.1.0",
|
85 | "karma-rollup-preprocessor": "7.0.8",
|
86 | "karma-safari-launcher": "1.0.0",
|
87 | "karma-spec-reporter": "0.0.34",
|
88 | "less": "4.1.3",
|
89 | "malevic": "0.19.1",
|
90 | "prettier": "2.7.1",
|
91 | "puppeteer-core": "18.0.3",
|
92 | "rollup": "2.79.0",
|
93 | "rollup-plugin-istanbul2": "2.0.2",
|
94 | "rollup-plugin-typescript2": "0.34.0",
|
95 | "ts-jest": "29.0.1",
|
96 | "tslib": "2.4.0",
|
97 | "typescript": "4.8.3",
|
98 | "web-ext": "7.2.0",
|
99 | "ws": "8.8.1",
|
100 | "yazl": "2.5.1"
|
101 | }
|
102 | }
|