@kne/react-form-antd 2.2.1 → 3.0.1-alpha.0

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