forked from jaredpalmer/formik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 3.8 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
130
131
132
133
134
135
136
137
138
139
140
{
"name": "formik",
"description": "Forms in React, without tears",
"version": "2.0.1-rc.13",
"license": "MIT",
"author": "Jared Palmer <[email protected]>",
"repository": "jaredpalmer/formik",
"keywords": [
"formik",
"react",
"react-dom",
"form",
"validation",
"forms",
"higher order component",
"hoc"
],
"main": "dist/index.js",
"umd:main": "dist/formik.umd.production.js",
"module": "dist/formik.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"peerDependencies": {
"react": "^16.8.0"
},
"scripts": {
"test": "tsdx test --env=jsdom",
"test:watch": "npm run test -- --watchAll",
"start": "cross-env NODE_ENV=development tsdx watch",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd",
"prepublish": "npm run build",
"format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'",
"precommit": "lint-staged",
"storybook": "start-storybook -p 9001",
"addc": "all-contributors add",
"start-website": "cd website && yarn start",
"build-website": "cd website && yarn install && yarn build",
"gen-docs": "all-contributors generate && doctoc README.md",
"size": "size-limit"
},
"dependencies": {
"deepmerge": "^2.1.1",
"hoist-non-react-statics": "^3.3.0",
"lodash": "^4.17.14",
"lodash-es": "^4.17.14",
"react-fast-compare": "^2.0.1",
"scheduler": "^0.14.0",
"tiny-warning": "^1.0.2",
"tslib": "^1.9.3"
},
"optionalDependencies": {},
"resolutions": {
"@types/react": "16.8.17",
"@types/react-dom": "16.8.4"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@storybook/addon-options": "^5.0.11",
"@storybook/addons": "^5.0.11",
"@storybook/react": "^5.0.11",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^24.0.5",
"@types/lodash": "^4.14.119",
"@types/react": "^16.8.17",
"@types/react-dom": "^16.8.4",
"@types/warning": "^3.0.0",
"@types/yup": "^0.24.9",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"all-contributors-cli": "^4.4.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "10.0.1",
"babel-loader": "^8.0.6",
"cp-cli": "^1.1.2",
"cross-env": "5.0.5",
"doctoc": "^1.3.0",
"eslint": "5.x",
"eslint-config-prettier": "^4.3.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "2.x",
"eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "7.x",
"eslint-plugin-react-hooks": "1.5.0",
"husky": "0.14.3",
"just-debounce-it": "^1.1.0",
"lint-staged": "4.0.2",
"prettier": "^1.18.2",
"raw-loader": "^2.0.0",
"react": "^16.9.0-alpha.0",
"react-dom": "^16.9.0-alpha.0",
"react-testing-library": "^7.0.0",
"rimraf": "^2.6.2",
"tsdx": "^0.7.2",
"typescript": "^3.5.3",
"webpack": "^4.31.0",
"yup": "^0.27.0"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md' '/docs/**/*.md'",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"semi": true
},
"jest": {
"globals": {
"__DEV__": "boolean"
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"setupFilesAfterEnv": [
"react-testing-library/cleanup-after-each.js",
"<rootDir>/test/setupTests.ts"
]
},
"size-limit": [
{
"path": "./dist/index.js",
"limit": "14 kB"
},
{
"path": "./dist/formik.esm.js",
"limit": "14 kB"
},
{
"path": "./dist/formik.umd.production.js",
"limit": "14 kB"
}
]
}