-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.54 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
{
"name": "@concrete-form/react-hook-form",
"version": "1.0.8",
"author": "Kevin Gilbert",
"description": "React Hook Form implementation for Concrete form",
"keywords": [
"form",
"react",
"react-hook-form",
"concrete-form"
],
"repository": "concrete-form/react-hook-form",
"homepage": "https://concrete-form.com/docs/form/react-hook-form/intro",
"bugs": "https://github.com/concrete-form/react-hook-form/issues",
"private": false,
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"postinstall": "yarn build && cd demo && yarn install",
"prebuild": "rimraf dist",
"build": "yarn build:transpile && yarn build:types && yarn build:prepare",
"build:transpile": "concurrently \"yarn build:esm && yarn build:umd\" \"yarn build:cjs\"",
"build:esm": "cross-env BABEL_ENV=esm babel --extensions \".js,.ts,.tsx\" src --out-dir dist --copy-files --no-copy-ignored",
"build:cjs": "cross-env BABEL_ENV=cjs babel --extensions \".js,.ts,.tsx\" src --out-dir dist/cjs",
"build:umd": "cross-env BABEL_ENV=umd babel --extensions \".js\" dist/ --ignore dist/cjs --out-dir dist/umd --plugins=transform-es2015-modules-umd",
"build:types": "tsc --project tsconfig.build.json",
"build:prepare": "node scripts/prepareDist.js",
"dev": "yarn build && concurrently --kill-others \"yarn build:esm --watch\" \"cd demo && yarn start\"",
"publish:dist": "yarn build && yarn publish dist --access public",
"publish:code-coverage": "yarn test:coverage && cat ./coverage/lcov.info | coveralls",
"test": "react-scripts test --watchAll=false",
"test:watch": "react-scripts test",
"test:coverage": "react-scripts test --watchAll=false --coverage",
"lint": "eslint src",
"lint:fix": "yarn lint --fix"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-hook-form": ">=7.0.0"
},
"dependencies": {
"@concrete-form/core": "^1.0.8",
"babel-loader": "8.2.5"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/plugin-proposal-export-default-from": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.2",
"@babel/plugin-transform-typescript": "^7.18.1",
"@babel/runtime": "^7.18.3",
"@concrete-form/html5": "^1.0.6",
"@hookform/resolvers": "^2.8.10",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^2.0.0",
"concurrently": "^7.2.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint-plugin-standard-cra": "^1.0.8",
"joi": "^17.6.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-hook-form": "^7.43.8",
"react-scripts": "5.0.1",
"typescript": "^4.7.2",
"web-vitals": "^2.1.4",
"yup": "^0.32.11",
"zod": "^3.17.3"
},
"resolutions": {
"babel-loader": "8.1.0"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:standard-cra/recommended"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}