-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 1.92 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
{
"name": "use-hover-state",
"version": "1.0.0",
"description": "React hook which combines mouse and keyboard for a single hover event",
"main": "dist/es5/index.js",
"repository": "[email protected]:thearnica/use-hover-state.git",
"author": "<[email protected]>",
"license": "MIT",
"devDependencies": {
"@size-limit/preset-small-lib": "^2.1.6",
"@testing-library/react": "^13.2.0",
"@theuiteam/lib-builder": "^0.1.4",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"sideEffects": false,
"module": "dist/es2015/index.js",
"module:es2019": "dist/es2019/index.js",
"types": "dist/es5/index.d.ts",
"scripts": {
"dev": "lib-builder dev",
"test": "jest",
"test:ci": "jest --runInBand --coverage",
"build": "lib-builder build && yarn size:report",
"release": "yarn build && yarn test",
"size": "npx size-limit",
"size:report": "npx size-limit --json > .size.json",
"lint": "lib-builder lint",
"format": "lib-builder format",
"update": "lib-builder update",
"prepublish": "yarn build && yarn changelog",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"peerDependencies": {
"@types/react": "^16.9.0 || ^17.0.0",
"react": "^16.9.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"tslib": "^2.0.0",
"use-callback-ref": "^1.3.0"
},
"files": [
"dist"
],
"keywords": [],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{js,css,json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
}