-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
123 lines (123 loc) · 3.33 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "pywalfox",
"version": "2.0.11",
"description": "Extension for dyanmic theming of your browser using your Pywal colors ",
"repository": {
"type": "git",
"url": "https://github.com/frewacom/pywalfox"
},
"bugs": {
"url": "https://github.com/frewacom/pywalfox/issues"
},
"author": "Fredrik Engstrand <[email protected]> (https://github.com/frewacom)",
"license": "MPL-2.0",
"scripts": {
"watch": "npx rollup -cw",
"browser": "web-ext run",
"web-ext-lint": "web-ext lint",
"eslint": "npx eslint ./src/**/*.ts",
"eslint-watch": "npx esw -w --cache --color --ext .ts",
"eslint-fix": "npx eslint --fix ./src/**/*.ts",
"tests": "npx jest --verbose",
"debug": "run-p watch browser",
"build": "run-s build:* tests eslint web-ext-lint",
"build:compile": "npx rollup -c",
"build:dist": "web-ext build",
"build:source": "bestzip artifacts/source.zip extension src tsconfig.json package.json yarn.lock rollup.config.js LICENSE README.md"
},
"devDependencies": {
"@types/firefox-webext-browser": "^70.0.1",
"@types/jest": "^26.0.10",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"bestzip": "^2.1.5",
"eslint": "7.2.0",
"eslint-config-airbnb-typescript": "^9.0.0",
"eslint-plugin-import": "^2.21.2",
"eslint-watch": "^7.0.0",
"jest": "^26.4.1",
"npm-run-all": "^4.1.5",
"postcss-import": "^12.0.1",
"postcss-url": "^8.0.0",
"rollup": "^2.10.5",
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-postcss": "^3.1.1",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript-paths": "^1.2.2",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.2.0",
"tslib": "^2.0.0",
"typescript": "^3.9.3",
"web-ext": "^4.1.0"
},
"webExt": {
"verbose": false,
"sourceDir": "./extension",
"artifactsDir": "./artifacts",
"build": {
"overwriteDest": true
},
"run": {
"startUrl": [
"about:debugging"
]
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleNameMapper": {
"^@ui/(.*)$": [
"<rootDir>/src/ui/$1"
],
"^@pywalfox/(.*)$": [
"<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"
},
"env": {
"es2017": true,
"browser": true,
"webextensions": true
},
"rules": {
"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
}
]
}
}
}