-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 1.91 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@mints/hooks",
"version": "1.0.0",
"keywords": [
"react",
"hooks",
"mints",
"mints-components"
],
"description": "An easy-to-use React hooks collections.",
"repository": {
"type": "git",
"url": "git+https://github.com/mints-components/hooks.git"
},
"license": "MIT",
"packageManager": "[email protected]",
"type": "module",
"files": [
"dist",
"types"
],
"types": "./types/hooks.d.ts",
"main": "./dist/hooks.umd.cjs",
"module": "./dist/hooks.js",
"exports": {
".": {
"import": "./dist/hooks.js",
"require": "./dist/hooks.umd.cjs"
}
},
"scripts": {
"clean": "rm -rf dist && rm -rf types && rm -rf coverage",
"build": "yarn clean && tsc -b && yarn test && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier": "prettier --write .",
"test": "jest",
"prepare": "husky",
"prepublish": "yarn build"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{html,json,md}": [
"prettier --write"
]
},
"dependencies": {
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@mints/eslint-config": "^1.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.12",
"@types/lodash": "^4",
"@types/node": "^22.1.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"pinst": "^3.0.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.2.2",
"vite": "^5.3.4",
"vite-plugin-dts": "^4.1.0"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}