-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 3.68 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 3.68 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "refox",
"version": "3.1.0",
"description": "Extension for dynamic theming of your browser using your native colors ",
"repository": {
"type": "git",
"url": "https://github.com/ADIOR-enigma/refox"
},
"bugs": {
"url": "https://github.com/ADIOR-enigma/refox/issues"
},
"author": "adior (https://github.com/ADIOR-enigma)",
"license": "MPL-2.0",
"scripts": {
"watch": "rollup -cw",
"browser": "web-ext run",
"web-ext-lint": "web-ext lint",
"eslint": "eslint ./src/**/*.ts",
"eslint-watch": "esw -w --cache --color --ext .ts",
"eslint-fix": "eslint --fix ./src/**/*.ts",
"tests": "jest --verbose",
"debug": "run-p watch browser",
"build": "run-s 'build:*' tests eslint",
"build:compile": "rollup -c",
"build:dist": "web-ext build",
"build:source": "bestzip artifacts/source.zip extension src tsconfig.json package.json yarn.lock rollup.config.mjs LICENSE README.md"
},
"devDependencies": {
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/firefox-webext-browser": "^143.0.0",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"bestzip": "^2.1.5",
"eslint": "^8.57.1",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-watch": "^8.0.0",
"jest": "^30.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.6",
"postcss-import": "^16.1.1",
"postcss-url": "^10.1.3",
"rollup": "^4.54.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript-paths": "^1.2.2",
"ts-jest": "^29.4.6",
"tslib": "^2.0.0",
"typescript": "^5.9.3",
"web-ext": "^10.5.0"
},
"webExt": {
"verbose": false,
"sourceDir": "./extension",
"artifactsDir": "./artifacts",
"build": {
"overwriteDest": true
},
"run": {
"startUrl": [
"about:debugging"
],
"pref": [
"toolkit.legacyUserProfileCustomizations.stylesheets=true"
]
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/",
"/temp_omni/"
],
"moduleNameMapper": {
"^@ui/(.*)$": [
"<rootDir>/src/ui/$1"
],
"^@refox/(.*)$": [
"<rootDir>/src/$1"
],
"^@utils/(.*)$": [
"<rootDir>/src/utils/$1"
],
"^@config/(.*)$": [
"<rootDir>/src/config/$1"
],
"^@definitions": [
"<rootDir>/src/definitions"
],
"^@communication/(.*)$": [
"<rootDir>/src/communication/$1"
]
}
},
"eslintConfig": {
"extends": "airbnb-typescript/base",
"parserOptions": {
"project": "./tsconfig.json",
"warnOnUnsupportedTypeScriptVersion": false
},
"env": {
"es2017": true,
"browser": true,
"webextensions": true
},
"rules": {
"@typescript-eslint/indent": "off",
"@typescript-eslint/quotes": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-prototype-builtins": "off",
"class-methods-use-this": "off",
"object-curly-newline": "off",
"no-plusplus": [
"warn",
{
"allowForLoopAfterthoughts": true
}
],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/no-unused-expressions": [
"warn",
{
"allowShortCircuit": true
}
],
"import/extensions": "off",
"import/no-extraneous-dependencies": "off"
}
}
}