-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.62 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
{
"name": "use-input-validation",
"version": "1.2.0",
"author": "Christoph Fricke <[email protected]> (https://christoph-fricke.de)",
"description": "Validate your inputs easily with this react hook.",
"license": "MIT",
"keywords": [
"React",
"React hook",
"input validation",
"validation"
],
"repository": "github:christoph-fricke/use-input-validation",
"main": "dist/index.js",
"module": "dist/use-input-validation.esm.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"scripts": {
"prepublishOnly": "tsdx build",
"postversion": "git push && git push --tags",
"build": "tsdx build",
"test": "tsdx test",
"test:watch": "tsdx test --watch",
"test:cov": "tsdx test --coverage",
"lint": "tsdx lint",
"format": "tsdx lint --fix",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint --fix"
}
},
"size-limit": [
{
"path": "dist/use-input-validation.cjs.production.min.js",
"limit": "1 KB"
},
{
"path": "dist/use-input-validation.esm.js",
"limit": "1 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.10.1",
"@testing-library/react-hooks": "^5.1.0",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"husky": "^4.3.8",
"react": ">=17.0.1",
"react-test-renderer": "^17.0.1",
"size-limit": "^4.10.1",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^3.9.7"
}
}