cloud-business 0.1.142 → 0.1.143
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/.babelrc +22 -0
- package/.idea/cloud-business-react.iml +12 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/LICENSE +21 -0
- package/README.md +127 -0
- package/assets.json +132 -0
- package/{cloud-business.js → dist/cloud-business.js} +1 -1
- package/dist/cloud-business.min.js +1 -0
- package/dist/package.json +134 -0
- package/jsconfig.json +13 -0
- package/package.json +134 -1
- package/typings.d.ts +2 -0
- package/cloud-business.min.js +0 -1
- /package/{cloud-business.css → dist/cloud-business.css} +0 -0
- /package/{cloud-business.min.css → dist/cloud-business.min.css} +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloud-business",
|
|
3
|
+
"version": "0.1.143",
|
|
4
|
+
"description": "数据赢家 react 版本业务组件",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"gen:index": "node ./scripts/generate-index.js",
|
|
7
|
+
"gen:index:dev": "node ./scripts/generate-index.js --dev",
|
|
8
|
+
"gen:doc": "node ./scripts/generate-doc.js",
|
|
9
|
+
"start": "rimraf dist/* && npm run gen:index:dev && father-build --dev && dumi dev",
|
|
10
|
+
"site": "npm run gen:index:dev && dumi build",
|
|
11
|
+
"docs:build": "dumi build",
|
|
12
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
13
|
+
"build": "npm run gen:index && rimraf dist/* && father-build",
|
|
14
|
+
"watch": "father-build --watch",
|
|
15
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
16
|
+
"release": "npm run build && npm publish",
|
|
17
|
+
"test": "umi-test",
|
|
18
|
+
"test:coverage": "umi-test --coverage",
|
|
19
|
+
"postversion": "dumi assets",
|
|
20
|
+
"cli-version": "node ./scripts/generate-version.js",
|
|
21
|
+
"version": "npm run build && npm publish dist",
|
|
22
|
+
"lint": "eslint . --ext .js,.jsx",
|
|
23
|
+
"lint:fix": "eslint --ext .js,.jsx --fix .",
|
|
24
|
+
"format": "npm run lint:fix"
|
|
25
|
+
},
|
|
26
|
+
"dumiAssets": "assets.json",
|
|
27
|
+
"main": "cloud-business.js",
|
|
28
|
+
"module": "dist/index.esm.js",
|
|
29
|
+
"typings": "dist/index.d.ts",
|
|
30
|
+
"source": "src/index.js",
|
|
31
|
+
"gitHooks": {
|
|
32
|
+
"pre-commit": "lint-staged"
|
|
33
|
+
},
|
|
34
|
+
"jest": {
|
|
35
|
+
"moduleNameMapper": {
|
|
36
|
+
"^@utils(.*)$": "<rootDir>/src/utils$1",
|
|
37
|
+
"^@contexts(.*)$": "<rootDir>/src/contexts$1",
|
|
38
|
+
"^@src(.*)$": "<rootDir>/src/$1"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"lint-staged": {
|
|
42
|
+
"*.{js,jsx,less,md,json}": [
|
|
43
|
+
"prettier --write"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"repository": "https://github.com/ShuyunFF2E/cloud-business.git",
|
|
47
|
+
"author": "shuyunfe <shuyunfe@shuyun.com>",
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@babel/cli": "^7.14.8",
|
|
50
|
+
"@babel/core": "^7.15.0",
|
|
51
|
+
"@babel/eslint-parser": "^7.28.0",
|
|
52
|
+
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
53
|
+
"@babel/plugin-proposal-decorators": "^7.14.5",
|
|
54
|
+
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
|
|
55
|
+
"@babel/plugin-proposal-function-sent": "^7.14.5",
|
|
56
|
+
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
|
|
57
|
+
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
|
|
58
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
59
|
+
"@babel/plugin-transform-runtime": "^7.15.0",
|
|
60
|
+
"@babel/preset-env": "^7.15.0",
|
|
61
|
+
"@babel/preset-react": "^7.14.5",
|
|
62
|
+
"@babel/runtime": "^7.15.3",
|
|
63
|
+
"@rollup/plugin-alias": "^3.1.5",
|
|
64
|
+
"@rollup/plugin-url": "^6.1.0",
|
|
65
|
+
"@types/react-is": "^17.0.3",
|
|
66
|
+
"@umijs/test": "^3.0.5",
|
|
67
|
+
"babel-eslint": "^10.1.0",
|
|
68
|
+
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
69
|
+
"cross-env": "^7.0.3",
|
|
70
|
+
"dumi": "^1.0.14",
|
|
71
|
+
"enzyme": "^3.11.0",
|
|
72
|
+
"enzyme-adapter-react-16": "^1.15.2",
|
|
73
|
+
"enzyme-to-json": "^3.5.0",
|
|
74
|
+
"eslint": "^7.32.0",
|
|
75
|
+
"eslint-config-airbnb": "^18.2.1",
|
|
76
|
+
"eslint-config-prettier": "^8.3.0",
|
|
77
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
78
|
+
"eslint-plugin-import": "^2.24.2",
|
|
79
|
+
"eslint-plugin-jest": "^24.4.0",
|
|
80
|
+
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
81
|
+
"eslint-plugin-prettier": "^3.4.1",
|
|
82
|
+
"eslint-plugin-react": "^7.24.0",
|
|
83
|
+
"eslint-webpack-plugin": "^3.0.1",
|
|
84
|
+
"father-build": "1.22.1",
|
|
85
|
+
"gh-pages": "^3.0.0",
|
|
86
|
+
"glob": "^7.1.7",
|
|
87
|
+
"identity-obj-proxy": "^3.0.0",
|
|
88
|
+
"jest": "^27.0.6",
|
|
89
|
+
"jest-environment-jsdom": "^27.0.6",
|
|
90
|
+
"jest-transform-css": "2.0.0",
|
|
91
|
+
"lint-staged": "^10.0.7",
|
|
92
|
+
"markdown-it": "^12.2.0",
|
|
93
|
+
"postcss-font-base64": "^1.0.5",
|
|
94
|
+
"prettier": "^2.2.1",
|
|
95
|
+
"rimraf": "^3.0.2",
|
|
96
|
+
"rollup-plugin-postcss": "^4.0.1",
|
|
97
|
+
"rollup-plugin-visualizer": "^4.2.2",
|
|
98
|
+
"umi-lint": "^2.0.2",
|
|
99
|
+
"yargs": "^17.1.1"
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"axios": "^0.19.1",
|
|
103
|
+
"classnames": "^2.2.6",
|
|
104
|
+
"cloud-react": "0.1.19",
|
|
105
|
+
"cloud-react-v2": "npm:cloud-react@2.0.14-4",
|
|
106
|
+
"emoji-mart": "^5.2.0",
|
|
107
|
+
"gray-matter": "^4.0.3",
|
|
108
|
+
"moment": "^2.29.4",
|
|
109
|
+
"postcss-url": "8.0.0",
|
|
110
|
+
"prop-types": "^15.7.2",
|
|
111
|
+
"rc-picker": "^3.1.4",
|
|
112
|
+
"rc-overflow": "^1.2.8",
|
|
113
|
+
"react": "^16.8.6",
|
|
114
|
+
"react-dom": "^16.8.6",
|
|
115
|
+
"react-router-dom": "^5.0.0",
|
|
116
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
117
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
118
|
+
"rollup-plugin-eslint": "^7.0.0",
|
|
119
|
+
"rollup-plugin-img": "^1.1.0",
|
|
120
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
121
|
+
"rollup-plugin-uglify": "^6.0.4",
|
|
122
|
+
"shuyun-utils": "0.0.3",
|
|
123
|
+
"react-beautiful-dnd": "^13.1.0",
|
|
124
|
+
"@emoji-mart/data": "^1.0.2",
|
|
125
|
+
"core-js": "^3.30.0"
|
|
126
|
+
},
|
|
127
|
+
"bugs": {
|
|
128
|
+
"url": "https://github.com/ShuyunFF2E/ccms-components-react/issues"
|
|
129
|
+
},
|
|
130
|
+
"homepage": "https://github.com/ShuyunFF2E/ccms-components-react#readme",
|
|
131
|
+
"volta": {
|
|
132
|
+
"node": "14.21.3"
|
|
133
|
+
}
|
|
134
|
+
}
|
package/jsconfig.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2015",
|
|
4
|
+
"allowSyntheticDefaultImports": false,
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"baseUrl": ".",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@src/*": ["./src/*"],
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"include": ["./src/**/*"],
|
|
12
|
+
"exclude": ["./node_modules", "./dist"]
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1,134 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "cloud-business",
|
|
3
|
+
"version": "0.1.143",
|
|
4
|
+
"description": "数据赢家 react 版本业务组件",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"gen:index": "node ./scripts/generate-index.js",
|
|
7
|
+
"gen:index:dev": "node ./scripts/generate-index.js --dev",
|
|
8
|
+
"gen:doc": "node ./scripts/generate-doc.js",
|
|
9
|
+
"start": "rimraf dist/* && npm run gen:index:dev && father-build --dev && dumi dev",
|
|
10
|
+
"site": "npm run gen:index:dev && dumi build",
|
|
11
|
+
"docs:build": "dumi build",
|
|
12
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
13
|
+
"build": "npm run gen:index && rimraf dist/* && father-build",
|
|
14
|
+
"watch": "father-build --watch",
|
|
15
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
16
|
+
"release": "npm run build && npm publish",
|
|
17
|
+
"test": "umi-test",
|
|
18
|
+
"test:coverage": "umi-test --coverage",
|
|
19
|
+
"postversion": "dumi assets",
|
|
20
|
+
"cli-version": "node ./scripts/generate-version.js",
|
|
21
|
+
"version": "npm run build && npm publish dist",
|
|
22
|
+
"lint": "eslint . --ext .js,.jsx",
|
|
23
|
+
"lint:fix": "eslint --ext .js,.jsx --fix .",
|
|
24
|
+
"format": "npm run lint:fix"
|
|
25
|
+
},
|
|
26
|
+
"dumiAssets": "assets.json",
|
|
27
|
+
"main": "cloud-business.js",
|
|
28
|
+
"module": "dist/index.esm.js",
|
|
29
|
+
"typings": "dist/index.d.ts",
|
|
30
|
+
"source": "src/index.js",
|
|
31
|
+
"gitHooks": {
|
|
32
|
+
"pre-commit": "lint-staged"
|
|
33
|
+
},
|
|
34
|
+
"jest": {
|
|
35
|
+
"moduleNameMapper": {
|
|
36
|
+
"^@utils(.*)$": "<rootDir>/src/utils$1",
|
|
37
|
+
"^@contexts(.*)$": "<rootDir>/src/contexts$1",
|
|
38
|
+
"^@src(.*)$": "<rootDir>/src/$1"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"lint-staged": {
|
|
42
|
+
"*.{js,jsx,less,md,json}": [
|
|
43
|
+
"prettier --write"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"repository": "https://github.com/ShuyunFF2E/cloud-business.git",
|
|
47
|
+
"author": "shuyunfe <shuyunfe@shuyun.com>",
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@babel/cli": "^7.14.8",
|
|
50
|
+
"@babel/core": "^7.15.0",
|
|
51
|
+
"@babel/eslint-parser": "^7.28.0",
|
|
52
|
+
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
53
|
+
"@babel/plugin-proposal-decorators": "^7.14.5",
|
|
54
|
+
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
|
|
55
|
+
"@babel/plugin-proposal-function-sent": "^7.14.5",
|
|
56
|
+
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
|
|
57
|
+
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
|
|
58
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
59
|
+
"@babel/plugin-transform-runtime": "^7.15.0",
|
|
60
|
+
"@babel/preset-env": "^7.15.0",
|
|
61
|
+
"@babel/preset-react": "^7.14.5",
|
|
62
|
+
"@babel/runtime": "^7.15.3",
|
|
63
|
+
"@rollup/plugin-alias": "^3.1.5",
|
|
64
|
+
"@rollup/plugin-url": "^6.1.0",
|
|
65
|
+
"@types/react-is": "^17.0.3",
|
|
66
|
+
"@umijs/test": "^3.0.5",
|
|
67
|
+
"babel-eslint": "^10.1.0",
|
|
68
|
+
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
69
|
+
"cross-env": "^7.0.3",
|
|
70
|
+
"dumi": "^1.0.14",
|
|
71
|
+
"enzyme": "^3.11.0",
|
|
72
|
+
"enzyme-adapter-react-16": "^1.15.2",
|
|
73
|
+
"enzyme-to-json": "^3.5.0",
|
|
74
|
+
"eslint": "^7.32.0",
|
|
75
|
+
"eslint-config-airbnb": "^18.2.1",
|
|
76
|
+
"eslint-config-prettier": "^8.3.0",
|
|
77
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
78
|
+
"eslint-plugin-import": "^2.24.2",
|
|
79
|
+
"eslint-plugin-jest": "^24.4.0",
|
|
80
|
+
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
81
|
+
"eslint-plugin-prettier": "^3.4.1",
|
|
82
|
+
"eslint-plugin-react": "^7.24.0",
|
|
83
|
+
"eslint-webpack-plugin": "^3.0.1",
|
|
84
|
+
"father-build": "1.22.1",
|
|
85
|
+
"gh-pages": "^3.0.0",
|
|
86
|
+
"glob": "^7.1.7",
|
|
87
|
+
"identity-obj-proxy": "^3.0.0",
|
|
88
|
+
"jest": "^27.0.6",
|
|
89
|
+
"jest-environment-jsdom": "^27.0.6",
|
|
90
|
+
"jest-transform-css": "2.0.0",
|
|
91
|
+
"lint-staged": "^10.0.7",
|
|
92
|
+
"markdown-it": "^12.2.0",
|
|
93
|
+
"postcss-font-base64": "^1.0.5",
|
|
94
|
+
"prettier": "^2.2.1",
|
|
95
|
+
"rimraf": "^3.0.2",
|
|
96
|
+
"rollup-plugin-postcss": "^4.0.1",
|
|
97
|
+
"rollup-plugin-visualizer": "^4.2.2",
|
|
98
|
+
"umi-lint": "^2.0.2",
|
|
99
|
+
"yargs": "^17.1.1"
|
|
100
|
+
},
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"axios": "^0.19.1",
|
|
103
|
+
"classnames": "^2.2.6",
|
|
104
|
+
"cloud-react": "0.1.19",
|
|
105
|
+
"cloud-react-v2": "npm:cloud-react@2.0.14-4",
|
|
106
|
+
"emoji-mart": "^5.2.0",
|
|
107
|
+
"gray-matter": "^4.0.3",
|
|
108
|
+
"moment": "^2.29.4",
|
|
109
|
+
"postcss-url": "8.0.0",
|
|
110
|
+
"prop-types": "^15.7.2",
|
|
111
|
+
"rc-picker": "^3.1.4",
|
|
112
|
+
"rc-overflow": "^1.2.8",
|
|
113
|
+
"react": "^16.8.6",
|
|
114
|
+
"react-dom": "^16.8.6",
|
|
115
|
+
"react-router-dom": "^5.0.0",
|
|
116
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
117
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
118
|
+
"rollup-plugin-eslint": "^7.0.0",
|
|
119
|
+
"rollup-plugin-img": "^1.1.0",
|
|
120
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
121
|
+
"rollup-plugin-uglify": "^6.0.4",
|
|
122
|
+
"shuyun-utils": "0.0.3",
|
|
123
|
+
"react-beautiful-dnd": "^13.1.0",
|
|
124
|
+
"@emoji-mart/data": "^1.0.2",
|
|
125
|
+
"core-js": "^3.30.0"
|
|
126
|
+
},
|
|
127
|
+
"bugs": {
|
|
128
|
+
"url": "https://github.com/ShuyunFF2E/ccms-components-react/issues"
|
|
129
|
+
},
|
|
130
|
+
"homepage": "https://github.com/ShuyunFF2E/ccms-components-react#readme",
|
|
131
|
+
"volta": {
|
|
132
|
+
"node": "14.21.3"
|
|
133
|
+
}
|
|
134
|
+
}
|
package/typings.d.ts
ADDED