forked from jaredpalmer/formik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 2.94 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
{
"name": "formik",
"description": "Forms in React, without tears",
"version": "0.10.5",
"license": "MIT",
"author": "Jared Palmer <[email protected]>",
"repository": "jaredpalmer/formik",
"keywords": [
"formik",
"react",
"react-dom",
"form",
"validation",
"forms",
"higher order component",
"hoc"
],
"main": "dist/formik.js",
"module": "dist/formik.es6.js",
"typings": "dist/formik.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "jest --env=jsdom",
"test:watch": "npm run test -- --watch",
"start": "cross-env NODE_ENV=development tsc-watch --onSuccess \"rollup -c\"",
"prebuild": "rimraf dist",
"build": "tsc && cross-env NODE_ENV=production rollup -c && cross-env NODE_ENV=development rollup -c && rimraf compiled",
"prepublish": "npm run build",
"format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md'",
"precommit": "lint-staged",
"addc": "all-contributors add",
"gen-docs": "all-contributors generate && doctoc README.md"
},
"dependencies": {
"lodash.isequal": "4.5.0",
"prop-types": "^15.5.10",
"warning": "^3.0.0"
},
"peerDependencies": {
"react": ">=15"
},
"optionalDependencies": {},
"devDependencies": {
"@types/enzyme": "2.8.4",
"@types/jest": "20.0.6",
"@types/lodash.isequal": "4.5.2",
"@types/node": "8.0.19",
"@types/prop-types": "15.5.1",
"@types/react": "16.0.0",
"@types/react-dom": "15.5.1",
"@types/react-test-renderer": "15.5.2",
"@types/warning": "^3.0.0",
"all-contributors-cli": "^4.4.0",
"cross-env": "5.0.5",
"doctoc": "^1.3.0",
"enzyme": "2.9.1",
"husky": "0.14.3",
"jest": "20.0.4",
"lint-staged": "4.0.2",
"prettier": "^1.8.2",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-test-renderer": "15.6.1",
"rimraf": "2.6.1",
"rollup": "0.45.2",
"rollup-plugin-commonjs": "8.1.0",
"rollup-plugin-filesize": "1.4.2",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-replace": "1.1.1",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-uglify": "2.0.1",
"ts-jest": "20.0.9",
"tsc-watch": "1.0.7",
"tslint": "5.5.0",
"tslint-react": "3.2.0",
"typescript": "2.4.2",
"yup": "0.21.3"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"semi": true
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"<rootDir>/test/**/*.ts?(x)",
"<rootDir>/test/**/?(*.)(spec|test).ts?(x)"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}