-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
78 lines (78 loc) · 1.96 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
{
"version": "1.0.0",
"name": "@kevinwolf/formal",
"author": "Kevin Wolf <[email protected]>",
"description": "Elegant cross-platform form management primitives for the react hooks era",
"license": "MIT",
"homepage": "https://github.com/kevinwolfcr/formal#readme",
"repository": "https://github.com/kevinwolfcr/formal",
"bugs": "https://github.com/kevinwolfcr/formal/issues",
"main": "dist/formal.js",
"types": "dist/formal.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint . --ext .ts,.tsx,.js,.jsx --ignore-path .gitignore",
"test": "jest",
"prebuild": "rm -rf dist",
"build": "tsc",
"validate": "yarn lint && yarn test --silent --coverage && yarn build"
},
"dependencies": {},
"peerDependencies": {
"react": ">=16.8",
"yup": "*"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/react": "^16.8.8",
"@types/yup": "^0.26.12",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"codecov": "^3.2.0",
"doctoc": "^1.4.0",
"eslint": "^5.15.3",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.5.1",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-hooks-testing-library": "^0.3.7",
"ts-jest": "^24.0.0",
"typescript": "^3.3.4000",
"yup": "^0.27.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.md": [
"doctoc",
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
}
}