forked from react-hook-form/react-hook-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.99 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
{
"name": "react-hook-form",
"description": "Performant, flexible and extensible forms library for React Hooks",
"version": "4.5.3",
"main": "dist/react-hook-form.js",
"module": "dist/react-hook-form.es.js",
"types": "dist/index.d.ts",
"sideEffects": true,
"scripts": {
"clean": "rm -rf dist",
"prebuild": "yarn clean",
"build": "yarn build:modern && yarn build:ie11",
"build:modern": "rollup -c",
"build:min": "rollup -c rollup.min.config.js",
"build:ie11": "rollup -c rollup.ie11.config.js",
"prettier": "prettier --write './src/**/*.ts' './src/**/*.tsx' --config ./.prettierrc",
"lint": "yarn lint:check --fix && yarn prettier",
"lint:check": "eslint ./src --ext .jsx,.ts --ignore-pattern *.test.ts --report-unused-disable-directives",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
"postrelease": "yarn publish && git push --follow-tags",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"test:watch": "yarn test:coverage -- --watchAll",
"cypress": "cypress run",
"cypress:open": "cypress open",
"bundlesize": "yarn build:min && bundlesize",
"prepublishOnly": "yarn lint && yarn test && yarn run clean && yarn build",
"start:app": "yarn build && yarn link && yarn --cwd node_modules/react link && yarn --cwd ./app link react react-hook-form && yarn --cwd ./app && yarn --cwd ./app run start"
},
"keywords": [
"react",
"hooks",
"form",
"forms",
"form-validation",
"validation",
"typescript",
"react-hooks"
],
"repository": "https://github.com/react-hook-form/react-hook-form.git",
"homepage": "https://www.react-hook-form.com",
"author": "<[email protected]>",
"license": "MIT",
"devDependencies": {
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.0.25",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-test-renderer": "^16.9.0",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"bundlesize": "^0.18.0",
"coveralls": "^3.0.9",
"cypress": "^3.8.1",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.1.0",
"jest": "^24.7.1",
"lint-staged": "^9.5.0",
"mutationobserver-shim": "^0.3.3",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rollup": "^1.20.3",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.0",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"bundlesize": [
{
"path": "./dist/react-hook-form.min.es.js",
"maxSize": "7 kB"
}
],
"peerDependencies": {
"react": "^16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{jsx,ts}": [
"npm run lint",
"npm run prettier",
"git add"
]
}
}