-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
103 lines (103 loc) · 2.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "@hookform/error-message",
"version": "2.0.1",
"description": "React Hook Form error message component",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"esmodule": "dist/index.modern.js",
"jsnext:main": "dist/index.esm.js",
"unpkg": "dist/index.umd.js",
"umd:main": "dist/index.umd.js",
"jsdelivr": "dist/index.umd.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "264 B"
},
{
"path": "dist/index.esm.js",
"limit": "288 B"
},
{
"path": "dist/index.umd.js",
"limit": "270 B"
}
],
"scripts": {
"prebuild": "rimraf dist",
"build": "microbundle build --jsx React.createElement",
"lint": "eslint '**/*.{js,ts}'",
"lint:fix": "npm run lint -- --fix",
"lint:types": "tsc --noEmit",
"test": "jest --runInBand",
"test:watch": "npm run test -- --watchAll --coverage",
"prepare": "husky install"
},
"keywords": [
"react",
"react-component",
"form",
"forms",
"form-validation",
"validation",
"hookform",
"react-hook-form",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/react-hook-form/error-message.git"
},
"author": "bluebill1049 <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/react-hook-form/error-message/issues"
},
"homepage": "https://react-hook-form.com",
"devDependencies": {
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"microbundle": "^0.13.0",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.4.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-hook-form": "^7.0.0"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:fix"
],
"*.{md,json}": [
"prettier --write"
]
}
}