forked from react-hook-form/react-hook-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 4.24 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "react-hook-form",
"description": "Performant, flexible and extensible forms library for React Hooks",
"version": "6.7.1",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"umd:main": "dist/index.umd.production.min.js",
"unpkg": "dist/index.umd.production.min.js",
"jsdelivr": "dist/index.umd.production.min.js",
"jsnext:main": "dist/index.esm.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"sideEffects": true,
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "node rollup/writeCjsEntryFile.js && npm run build:modern && npm run build:ie11 && npm run cp:dts",
"build:modern": "rollup -c ./rollup/rollup.config.js",
"build:ie11": "rollup -c ./rollup/rollup.ie11.config.js",
"cp:dts": "copyfiles -f ./src/**/*.d.ts dist",
"lint": "eslint '**/*.{js,ts,tsx}'",
"lint:fix": "npm run lint -- --fix",
"lint:types": "tsc --noEmit",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"test:watch": "npm run test:coverage -- --watchAll",
"test:web": "TEST_ENV=web jest --runInBand",
"test:server": "TEST_ENV=server jest --runInBand",
"test:native": "TEST_ENV=native jest --runInBand",
"cypress": "cypress run",
"cypress:open": "cypress open",
"prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build",
"bundlesize": "npm run build:modern && bundlesize",
"start:app": "npm run 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",
"changeset": "changeset",
"release": "changeset publish"
},
"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": {
"@babel/core": "^7.11.4",
"@babel/plugin-transform-runtime": "^7.10.4",
"@changesets/changelog-github": "^0.2.6",
"@changesets/cli": "^2.9.2",
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.6",
"@testing-library/react-hooks": "^3.3.0",
"@testing-library/react-native": "^5.0.3",
"@types/jest": "^26.0.4",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"@types/react-native": "^0.62.16",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"babel-jest": "^26.1.0",
"bundlesize": "^0.18.0",
"copyfiles": "^2.3.0",
"core-js": "^3.6.5",
"coveralls": "^3.1.0",
"cypress": "5.0.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"husky": "^4.2.5",
"jest": "^26.4.1",
"jest-performance-testing": "^1.0.0",
"lint-staged": "^10.2.11",
"metro-react-native-babel-preset": "^0.60.0",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-native": "^0.62.2",
"react-performance-testing": "^1.2.0",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.26.4",
"rollup-plugin-peer-deps-external": "^2.2.3",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.2",
"typescript": "^4.0.2"
},
"bundlesize": [
{
"path": "./dist/index.cjs.production.min.js",
"maxSize": "9.5 kB"
}
],
"peerDependencies": {
"react": "^16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:types && lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:fix"
],
"*.{md,json,yml}": [
"prettier --write"
]
}
}