-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 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
76
{
"name": "@shelf/react-outside-click",
"version": "0.1.4",
"description": "React library for handling outside clicks of a specified element",
"license": "MIT",
"author": {
"name": "Andrii Butsa",
"email": "[email protected]",
"url": "https://shelf.io"
},
"sideEffects": false,
"type": "module",
"exports": "./lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rm -rf lib/ && tsc",
"coverage": "yarn test --coverage",
"lint": "yarn lint:ci --fix",
"lint:ci": "eslint .",
"prepack": "yarn build",
"prepare": "husky",
"size": "size-limit",
"test": "TZ=UTC jest src",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.{html,md,yml}": "prettier --write",
"*.{ts,js,json,tsx,jsx}": "eslint --fix",
".circleci/config.yml": ".husky/validate-circleci-config.sh"
},
"prettier": "@shelf/prettier-config",
"devDependencies": {
"@shelf/eslint-config": "4.2.1",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@size-limit/esbuild-why": "11.1.6",
"@size-limit/preset-small-lib": "11.1.6",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "16.0.1",
"@types/jest": "29.5.13",
"@types/node": "22.7.4",
"@types/react": "18.3.10",
"eslint": "9.11.1",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"size-limit": "11.1.6",
"ts-jest": "29.2.5",
"ts-jest-resolver": "2.0.1",
"typescript": "5.6.3"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"path": "lib/index.js",
"limit": "425 B"
}
]
}