-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
65 lines (65 loc) · 1.56 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": "react-search-box",
"version": "3.0.0",
"description": "An autocomplete search box for ReactJS",
"license": "MIT",
"author": "ghoshnirmalya",
"repository": "ghoshnirmalya/react-search-box",
"main": "./dist/react-search-box.umd.js",
"module": "./dist/react-search-box.es.js",
"files": [
"dist"
],
"scripts": {
"build": "tsc && vite build && tsup",
"precommit": "lint-staged",
"dev": "vite",
"prepare": "husky install",
"prepublishOnly": "yarn build",
"release": "release-it",
"serve": "vite preview"
},
"typings": "dist/index.d.ts",
"dependencies": {
"@release-it/bumper": "^4.0.2",
"fuse.js": "^6.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/node": "^18.13.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/styled-components": "^5.1.26",
"@vitejs/plugin-react": "^3.1.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.1",
"prettier": "^2.8.3",
"release-it": "^15.6.0",
"tsup": "^6.6.0",
"typescript": "^4.9.5",
"vite": "^4.1.1"
},
"resolutions": {
"@types/react": "^18.0.21"
},
"exports": {
".": {
"import": "./dist/react-search-box.es.js",
"require": "./dist/react-search-box.umd.js"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md,tsx,ts}": [
"prettier --write"
]
}
}