-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
56 lines (56 loc) · 1.62 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": "rhf-devtools-extension",
"version": "0.1.1",
"main": "src/devtools.tsx",
"author": "Justin Sun",
"license": "MIT",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "simple-git-hooks",
"dev": "webpack --config webpack.dev.js --watch",
"build": "rimraf dist && webpack --config webpack.prod.js",
"clean": "rimraf dist",
"format": "prettier --write \"**/*.{js,ts,tsx,css}\"",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
"update-version": "node ./scripts/update-version.js"
},
"dependencies": {
"clsx": "^1.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/chrome": "^0.0.190",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^13.0.2",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.0",
"typescript": "^4.7.3",
"typescript-plugin-css-modules": "^3.4.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-merge": "^5.8.0"
},
"lint-staged": {
"*.{js,ts,tsx,css}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
}
}