forked from react-hook-form/react-hook-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.44 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": "react-hook-form",
"description": "Performant, flexible and extensible forms library for React Hooks",
"version": "6.0.0-rc.4",
"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:umd && yarn build:ie11 && yarn build:min",
"build:modern": "rollup -c ./rollup/rollup.config.js",
"build:min": "rollup -c ./rollup/rollup.min.config.js",
"build:umd": "rollup -c ./rollup/rollup.umd.config.js",
"build:ie11": "rollup -c ./rollup/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 .tsx,.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",
"prepublishOnly": "yarn lint && yarn test && yarn run clean && yarn build",
"bundlesize": "yarn build:min && bundlesize",
"start:app": "yarn build:modern && 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",
"unpkg": "dist/react-hook-form.umd.js",
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/runtime-corejs3": "^7.10.2",
"@rollup/plugin-babel": "^5.0.3",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.3",
"@testing-library/react": "^10.2.1",
"@testing-library/react-hooks": "^3.3.0",
"@types/jest": "^25.2.3",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"bundlesize": "^0.18.0",
"core-js": "^3.6.5",
"coveralls": "^3.1.0",
"cypress": "^4.7.0",
"eslint": "^7.2.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"lint-staged": "^10.2.9",
"mutationobserver-shim": "^0.3.5",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rollup": "^2.13.1",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^25.5.1",
"typescript": "^3.9.5"
},
"bundlesize": [
{
"path": "./dist/react-hook-form.min.es.js",
"maxSize": "9.5 kB"
}
],
"peerDependencies": {
"react": "^16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{tsx,ts}": [
"npm run lint",
"npm run prettier"
]
}
}