@kne/react-form-antd 2.1.39 → 2.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +35 -35
- package/dist/index.js +127 -260
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +95 -216
- package/dist/index.modern.js.map +1 -1
- package/package.json +91 -91
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kne/react-form-antd",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "把@kne/react-form 表单校验逻辑应用到antd",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.modern.js",
|
|
7
|
-
"source": "src/index.js",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"react"
|
|
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
|
-
"react-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kne/react-form-antd",
|
|
3
|
+
"version": "2.1.41",
|
|
4
|
+
"description": "把@kne/react-form 表单校验逻辑应用到antd",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.modern.js",
|
|
7
|
+
"source": "src/index.js",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"init": "npm install && cd example && npm install",
|
|
10
|
+
"create-fields": "node ./scripts/createIndex.js",
|
|
11
|
+
"start": "run-p start:lib start:example",
|
|
12
|
+
"build": "run-s create-fields build:lib build:example",
|
|
13
|
+
"build:lib": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
|
|
14
|
+
"start:lib": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
|
|
15
|
+
"test": "run-s test:unit test:lint test:build",
|
|
16
|
+
"test:build": "run-s build",
|
|
17
|
+
"test:lint": "eslint .",
|
|
18
|
+
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
19
|
+
"test:watch": "react-scripts test --env=jsdom",
|
|
20
|
+
"build:example": "cd example && npm run build",
|
|
21
|
+
"start:example": "cd example && npm run start",
|
|
22
|
+
"deploy": "gh-pages -d example/build",
|
|
23
|
+
"prettier": "prettier --config .prettierrc --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/kne-union/react-form-antd.git"
|
|
28
|
+
},
|
|
29
|
+
"husky": {
|
|
30
|
+
"hooks": {
|
|
31
|
+
"pre-commit": "lint-staged"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"lint-staged": {
|
|
35
|
+
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
36
|
+
"prettier --config .prettierrc --write",
|
|
37
|
+
"git add"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist"
|
|
42
|
+
],
|
|
43
|
+
"keywords": [
|
|
44
|
+
"react",
|
|
45
|
+
"form",
|
|
46
|
+
"validate"
|
|
47
|
+
],
|
|
48
|
+
"author": "linzp",
|
|
49
|
+
"license": "ISC",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/kne-union/react-form-antd/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/kne-union/react-form-antd#readme",
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@kne/react-fetch": "1.x",
|
|
56
|
+
"antd": ">=4.x",
|
|
57
|
+
"prop-types": ">=15.x",
|
|
58
|
+
"react": ">=16.x"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@ant-design/icons": "^4.2.1",
|
|
62
|
+
"@babel/runtime": "^7.10.3",
|
|
63
|
+
"@kne/react-form": "^2.0.23",
|
|
64
|
+
"@kne/react-form-helper": "^1.0.20",
|
|
65
|
+
"@kne/use-control-value": "^0.1.1",
|
|
66
|
+
"@kne/use-event": "^0.1.2",
|
|
67
|
+
"@kne/with-layer": "^0.1.5",
|
|
68
|
+
"classnames": "^2.2.6",
|
|
69
|
+
"lodash": "^4.17.15",
|
|
70
|
+
"moment": "^2.29.1",
|
|
71
|
+
"react-avatar-editor": "^12.0.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@kne/react-fetch": "^0.1.12",
|
|
75
|
+
"antd": "^4.16.13",
|
|
76
|
+
"axios": "^0.21.4",
|
|
77
|
+
"cross-env": "^7.0.3",
|
|
78
|
+
"fs-extra": "^9.0.1",
|
|
79
|
+
"gh-pages": "^3.2.3",
|
|
80
|
+
"glob": "^7.1.6",
|
|
81
|
+
"husky": "^7.0.2",
|
|
82
|
+
"microbundle": "^0.13.3",
|
|
83
|
+
"node-sass": "^6.0.1",
|
|
84
|
+
"npm-run-all": "^4.1.5",
|
|
85
|
+
"pify": "^5.0.0",
|
|
86
|
+
"prettier": "^2.4.1",
|
|
87
|
+
"react": "^18.2.0",
|
|
88
|
+
"react-dom": "^18.2.0",
|
|
89
|
+
"react-scripts": "^4.0.3"
|
|
90
|
+
}
|
|
91
|
+
}
|