-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
62 lines (62 loc) · 1.52 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
{
"name": "react-search-box",
"version": "2.2.1",
"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": {
"fuse.js": "^6.4.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.1"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@release-it/conventional-changelog": "^3.0.0",
"@types/node": "^16.11.1",
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"@types/styled-components": "^5.1.15",
"@vitejs/plugin-react": "^1.0.4",
"husky": "^7.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"release-it": "^14.2.2",
"tsup": "^5.4.1",
"typescript": "^4.4.4",
"vite": "^2.6.7"
},
"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"
]
}
}