-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.15 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
{
"name": "react-webext-template",
"private": true,
"version": "0.0.0",
"type": "module",
"description": "A template for building a web extension with React and Vite.",
"scripts": {
"dev": "vite",
"build": "npm run clear && run-s build:**",
"build:default": "vite build",
"build:background": "cross-env BUILD_TARGET=background vite build",
"build:content-script": "cross-env BUILD_TARGET=content-script vite build",
"build:options": "cross-env BUILD_TARGET=options vite build",
"build:sidebar": "cross-env BUILD_TARGET=sidebar vite build",
"build:popup": "cross-env BUILD_TARGET=popup vite build",
"build:manifest": "cross-env BUILD_TARGET=manifest vite build",
"preview": "vite preview",
"lint": "eslint --cache .",
"lint:fix": "eslint --fix .",
"clear": "rimraf --glob dist/",
"fmt:check": "prettier --check .",
"fmt:write": "prettier --write .",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/js": "^9.11.1",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.7.6",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.1",
"@types/webextension-polyfill": "^0.12.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.3",
"chokidar": "^4.0.1",
"cross-env": "^7.0.3",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"fs-extra": "^11.2.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"jsdom": "^25.0.1",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"semantic-release": "^24.1.3",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8",
"vitest": "^2.1.3",
"web-ext": "^8.3.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.12.0"
}
}