forked from iorate/ublacklist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.6 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
{
"name": "ublacklist",
"version": "0.0.0",
"devDependencies": {
"@codemirror/commands": "^6.2.2",
"@codemirror/language": "^6.6.0",
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.3",
"@lezer/highlight": "^1.1.4",
"@mdi/svg": "^7.2.96",
"@types/chrome": "0.0.227",
"@types/dotenv-webpack": "^7.0.3",
"@types/eslint": "^8.37.0",
"@types/firefox-webext-browser": "^111.0.1",
"@types/jest": "^29.5.0",
"@types/node": "^16.18.23",
"@types/prettier": "^2.7.2",
"@types/punycode": "^2.1.0",
"@types/react": "^17.0.55",
"@types/react-dom": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"colord": "^2.9.3",
"copy-webpack-plugin": "^11.0.0",
"csstype": "^3.1.2",
"dayjs": "^1.11.7",
"dotenv-webpack": "^8.0.1",
"esbuild": "^0.17.15",
"esbuild-jest": "^0.5.0",
"esbuild-loader": "^3.0.1",
"esbuild-register": "^3.4.2",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"globby": "^13.1.3",
"goober": "2.1.10",
"html-webpack-plugin": "^5.5.0",
"if-webpack-loader": "^2.0.0",
"is-mobile": "^4.0.0",
"jest": "^29.5.0",
"lint-staged": "^13.2.0",
"microstruct": "^4.0.0",
"mpsl": "^3.1.22",
"npm-run-all": "^4.1.5",
"preact": "^10.13.2",
"prettier": "^2.8.7",
"punycode": "^2.3.0",
"react-colorful": "^5.6.1",
"rimraf": "^4.4.1",
"semantic-release": "^19.0.5",
"semantic-release-amo": "^1.2.1",
"semantic-release-chrome": "^3.2.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^5.0.3",
"webpack": "^5.77.0",
"webpack-cli": "^5.0.1"
},
"engines": {
"node": ">=16",
"npm": "use_yarn_instead_of_npm"
},
"jest": {
"transform": {
"\\.tsx?$": [
"esbuild-jest",
{
"sourcemap": true
}
]
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,json,md,mdx,yaml,yml}": "prettier --write"
},
"packageManager": "[email protected]",
"prettier": {
"arrowParens": "avoid",
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
},
"private": true,
"scripts": {
"postinstall": "simple-git-hooks",
"build": "npm-run-all \"webpack --env browser={1:=chrome-mv3} --env mode={2:=development}\" --",
"build-all": "run-p -l \"build chrome development\" \"build chrome production\" \"build chrome-mv3 development\" \"build chrome-mv3 production\" \"build firefox development\" \"build firefox production\" \"build safari development\" \"build safari production\"",
"watch": "npm-run-all \"webpack --watch --env browser={1:=chrome-mv3} --env mode=development\" --",
"clean": "rimraf dist",
"lint": "FORCE_COLOR=1 run-p -l lint-eslint lint-prettier lint-typecheck",
"lint-eslint": "eslint . --ignore-pattern /website",
"lint-prettier": "prettier --check --loglevel warn . !website",
"lint-typecheck": "tsc --noEmit",
"fix": "FORCE_COLOR=1 run-s -l fix-eslint fix-prettier",
"fix-eslint": "eslint --fix . --ignore-pattern /website",
"fix-prettier": "prettier --write --loglevel warn . !website",
"test": "jest",
"g:eslint": "cd $INIT_CWD && eslint",
"g:prettier": "cd $INIT_CWD && prettier",
"webpack": "webpack"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"workspaces": [
"website"
]
}