1 | {
|
2 | "name": "darkreader",
|
3 | "version": "4.9.51",
|
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 | "build:all": "node tasks/build.js --debug --release --api",
|
10 | "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'",
|
11 | "debug": "node tasks/build.js --debug",
|
12 | "debug:watch": "node tasks/build.js --debug --watch",
|
13 | "lint": "eslint --ignore-pattern '!.eslintplugin.js' -- 'src/**/*.ts' 'src/**/*.tsx' 'tasks/**/*.js' 'tests/**/*.ts' 'tests/[!coverage]**/*.js' 'index.d.ts' '.eslintplugin.js'",
|
14 | "lint:bundle": "(node ./tasks/check-exists.js ./build/debug/chrome || node tasks/build.js --debug --api) && eslint -- 'build/debug/chrome/**/*.js' 'darkreader.js'",
|
15 | "prepublishOnly": "npm test && npm run api",
|
16 | "release": "npm test && npm run lint && node tasks/build.js --release",
|
17 | "test": "npm run test:unit",
|
18 | "test:all": "npm run test:unit; npm run test:browser; npm run test:inject; npm run test:project",
|
19 | "test:browser": "npm run debug && npm run test:chrome && npm run test:firefox",
|
20 | "test:chrome": "npm run debug && jest --config=tests/browser/jest.config.js --runInBand",
|
21 | "test:ci": "npm run test:unit",
|
22 | "test:coverage": "jest --config=tests/unit/jest.config.js --coverage",
|
23 | "test:firefox": " npm run debug && jest --config=tests/browser/jest.config.firefox.js --runInBand",
|
24 | "test:inject": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.js",
|
25 | "test:inject:debug": "node --max-old-space-size=3072 node_modules/.bin/karma start ./tests/inject/karma.conf.js --debug",
|
26 | "test:project": "jest --config=tests/project/jest.config.js",
|
27 | "test:unit": "jest --config=tests/unit/jest.config.js",
|
28 | "test:unit:debug": "node --inspect-brk ./node_modules/jest/bin/jest --config=tests/unit/jest.config.js --runInBand --no-cache --watch",
|
29 | "test:update-snapshots": "npm run test -- --updateSnapshot && npm run test:project -- --updateSnapshot"
|
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": "13.1.3",
|
57 | "@rollup/plugin-replace": "4.0.0",
|
58 | "@rollup/plugin-typescript": "8.3.1",
|
59 | "@rollup/pluginutils": "4.2.0",
|
60 | "@types/chrome": "0.0.180",
|
61 | "@types/eslint": "8.4.1",
|
62 | "@types/jasmine": "4.0.0",
|
63 | "@types/jest": "27.4.1",
|
64 | "@types/karma": "6.3.3",
|
65 | "@types/karma-coverage": "2.0.1",
|
66 | "@types/node": "17.0.23",
|
67 | "@types/offscreencanvas": "2019.6.4",
|
68 | "@typescript-eslint/eslint-plugin": "5.16.0",
|
69 | "@typescript-eslint/parser": "5.16.0",
|
70 | "chokidar": "3.5.3",
|
71 | "eslint": "8.11.0",
|
72 | "eslint-plugin-compat": "4.0.2",
|
73 | "eslint-plugin-import": "2.25.4",
|
74 | "eslint-plugin-local": "1.0.0",
|
75 | "get-stream": "6.0.1",
|
76 | "globby": "13.1.1",
|
77 | "jasmine-core": "4.0.1",
|
78 | "jest": "27.5.1",
|
79 | "jest-extended": "2.0.0",
|
80 | "karma": "6.3.17",
|
81 | "karma-chrome-launcher": "3.1.1",
|
82 | "karma-coverage": "2.2.0",
|
83 | "karma-firefox-launcher": "2.1.2",
|
84 | "karma-jasmine": "4.0.1",
|
85 | "karma-rollup-preprocessor": "7.0.8",
|
86 | "karma-safari-launcher": "1.0.0",
|
87 | "karma-spec-reporter": "0.0.33",
|
88 | "less": "4.1.2",
|
89 | "malevic": "0.19.1",
|
90 | "prettier": "2.6.1",
|
91 | "puppeteer-core": "13.5.1",
|
92 | "rollup": "2.70.1",
|
93 | "rollup-plugin-istanbul2": "2.0.2",
|
94 | "ts-jest": "27.1.4",
|
95 | "tslib": "2.3.1",
|
96 | "typescript": "4.6.3",
|
97 | "web-ext": "6.8.0",
|
98 | "ws": "8.5.0",
|
99 | "yazl": "2.5.1"
|
100 | }
|
101 | }
|