forked from redux-form/redux-form
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
158 lines (158 loc) · 4.67 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "redux-form",
"version": "8.3.10",
"description": "A higher order component decorator for forms using Redux and React",
"main": "./lib/index.js",
"module": "./es/index.js",
"modules.root": "./es",
"jsnext:main": "./es/index.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/redux-form/redux-form"
},
"engines": {
"node": ">=8.10"
},
"scripts": {
"analyze": "webpack src/index.js dist/redux-form.js -p --bail --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"build": "npm run clean && npm run build:lib && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:flow",
"build:lib": "babel src --out-dir lib --ignore \"src/**/__tests__\"",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore \"src/**/__tests__\"",
"build:flow": "cp src/*.js.flow lib && cp src/selectors/*.js.flow lib/selectors && cp src/*.js.flow es && cp src/selectors/*.js.flow es/selectors",
"build:umd": "cross-env NODE_ENV=development webpack src/index.js -o dist/redux-form.js",
"build:umd:min": "cross-env NODE_ENV=production webpack src/index.js -o dist/redux-form.min.js",
"clean": "rimraf dist lib es",
"lint": "eslint src",
"prepare": "npm run build",
"validate": "npm run lint && npm run test:cov && npm run test:flow && npm run clean && npm run build && size-limit",
"test": "jest",
"test:flow": "node scripts/patch-immutable-flow-error.js && flow check",
"test:watch": "npm test -- --watch",
"test:cov": "npm run test -- --coverage"
},
"keywords": [
"react",
"reactjs",
"flux",
"redux",
"react-redux",
"redux-form",
"form",
"decorator"
],
"author": "Erik Rasmussen <[email protected]> (https://github.com/erikras)",
"license": "MIT",
"bugs": {
"url": "https://github.com/redux-form/redux-form/issues"
},
"homepage": "https://redux-form.com/",
"dependencies": {
"@babel/runtime": "^7.9.2",
"es6-error": "^4.1.1",
"hoist-non-react-statics": "^3.3.2",
"invariant": "^2.2.4",
"is-promise": "^2.1.0",
"lodash": "^4.17.15",
"prop-types": "^15.6.1",
"react-is": "^16.4.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@size-limit/preset-small-lib": "^4.4.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-lodash": "^3.3.4",
"codecov": "^3.6.5",
"cross-env": "^5.2.1",
"deep-equal": "^1.1.1",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.2.1",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"flow-bin": "^0.84.0",
"flux-standard-action": "^2.1.1",
"husky": "^1.2.1",
"immutable": "^3.8.2",
"insert-line": "^1.1.0",
"jest": "^25.3.0",
"lint-staged": "^8.2.1",
"lodash-webpack-plugin": "^0.11.5",
"prettier": "^1.19.1",
"prettier-eslint-cli": "^5.0.0",
"react": "~17.0.2",
"react-dom": "~17.0.2",
"react-redux": "~6.0.1",
"react-test-renderer": "^17.0.2",
"redux": "~3.7.2",
"redux-immutable": "^4.0.0",
"rimraf": "^2.7.1",
"size-limit": "^4.4.5",
"tmp": "0.0.33",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.11"
},
"peerDependencies": {
"react": "^16.4.2 || ^17.0.0 || ^18.0.0",
"react-redux": "^6.0.1 || ^7.0.0 || ^8.0.0",
"redux": "^3.7.2 || ^4.0.0",
"immutable": "^3.8.2 || ^4.0.0"
},
"peerDependenciesMeta": {
"immutable": {
"optional": true
}
},
"files": [
"README.md",
"es",
"lib",
"dist",
"immutable.js",
"*.js.flow"
],
"lint-staged": {
"*.{js,json,md,css}": [
"prettier --write",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/__tests__/**/*.js"
],
"coverageReporters": [
"text",
"lcov",
"html"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testRegex": "__tests__/.*\\.spec\\.js$",
"testEnvironment": "jsdom"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/redux-form"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}