-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
46 lines (46 loc) · 1.4 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
{
"name": "devtools-boilerplate",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --config config/vite.config.dev.ts",
"build:view": "vite build --config config/vite.config.ts",
"build:main": "vite build --config config/vite.config.main.ts",
"build:background": "vite build --config config/vite.config.background.ts",
"build:contentScript": "vite build --config config/vite.config.contentScript.ts",
"build": "pnpm tsc && pnpm build:view && pnpm build:main && pnpm build:background && pnpm build:contentScript",
"preview": "vite preview",
"lint:fix": "eslint --ext .ts,tsx --ignore-path .gitignore . --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*": "prettier -w -u"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.2",
"@types/chrome": "^0.0.206",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/parser": "^5.47.1",
"@vitejs/plugin-react": "^3.0.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rollup-plugin-copy": "^3.4.0",
"typescript": "^4.9.4",
"vite": "^4.0.3"
}
}