-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
56 lines (56 loc) · 1.69 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
{
"name": "my-extension",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.5.0",
"webextension-polyfill": "^0.10.0"
},
"scripts": {
"build-chrome": "node esbuild.mjs --prod chrome",
"build-firefox": "node esbuild.mjs --prod firefox",
"dev-chrome": "node esbuild.mjs --watch chrome",
"dev-firefox": "node esbuild.mjs --watch firefox",
"lint": "yarn eslint \"src/**/*.tsx\" \"src/**/*.ts\" \"tests/**/*.ts\"",
"lint-fix": "yarn run lint -- --fix",
"fmt": "yarn prettier --check \"src/**/*.tsx\" \"src/**/*.css\" \"src/**/*.ts\" \"tests/**/*.ts\"",
"fmt-fix": "yarn prettier --write \"src/**/*.tsx\" \"src/**/*.css\" \"src/**/*.ts\" \"tests/**/*.ts\"",
"test": "jest",
"all": "yarn lint && yarn fmt && yarn test"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@eslint/compat": "^1.1.0",
"@eslint/js": "^9.5.0",
"@types/chrome": "^0.0.268",
"@types/jest": "^29.5.12",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"esbuild": "0.23.0",
"eslint": "9.x",
"eslint-formatter-unix": "^8.40.0",
"eslint-plugin-react": "^7.34.2",
"globals": "^15.6.0",
"jest": "^29.7.0",
"prettier": "2.8.7",
"ts-jest": "^29.2.2",
"typescript-eslint": "^7.13.1"
}
}