-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.85 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
{
"name": "chrome-extension-vite-starter",
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@7.30.3",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build --watch",
"preview": "vite preview",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest run --coverage",
"format": "prettier --write --cache .",
"lint": "eslint --fix . --cache",
"postinstall": "simple-git-hooks"
},
"dependencies": {
"i18next": "^22.4.13",
"i18next-browser-languagedetector": "^7.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.2.0",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.37.0",
"@crxjs/vite-plugin": "^2.0.0-beta.15",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.7",
"autoprefixer": "^10.4.13",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^13.2.0",
"postcss": "^8.4.31",
"prettier": "^2.8.7",
"sass": "^1.60.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"vite": "^4.5.2",
"vite-tsconfig-paths": "^4.0.7",
"vitest": "^0.29.7"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write --cache --ignore-unknown",
"eslint --cache --fix"
],
"*.{css,scss,less,md,html,json}": [
"prettier --write --cache --ignore-unknown"
]
}
}