@ecan-bi/chart-config-panel 1.0.2 → 1.0.4
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/dist/types/index.d.ts +7 -0
- package/dist/vue2/index.d.ts +2 -0
- package/dist/vue3/index.d.ts +2 -0
- package/package.json +23 -6
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/chart-config-panel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"main": "./dist/vue2/index.cjs",
|
|
5
5
|
"module": "./dist/vue3/index.mjs",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
7
|
+
"typings": "./dist/types/index.d.ts",
|
|
6
8
|
"exports": {
|
|
7
9
|
".": {
|
|
8
10
|
"types": "./dist/types/index.d.ts",
|
|
@@ -12,9 +14,23 @@
|
|
|
12
14
|
"require": "./dist/vue2/index.cjs",
|
|
13
15
|
"default": "./dist/vue3/index.mjs"
|
|
14
16
|
},
|
|
15
|
-
"./dist/vue2/index.cjs":
|
|
17
|
+
"./dist/vue2/index.cjs": {
|
|
18
|
+
"types": "./dist/vue2/index.d.ts",
|
|
19
|
+
"default": "./dist/vue2/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./dist/vue2/index.mjs": {
|
|
22
|
+
"types": "./dist/vue2/index.d.ts",
|
|
23
|
+
"default": "./dist/vue2/index.mjs"
|
|
24
|
+
},
|
|
16
25
|
"./dist/vue2/style.css": "./dist/vue2/style.css",
|
|
17
|
-
"./dist/vue3/index.
|
|
26
|
+
"./dist/vue3/index.cjs": {
|
|
27
|
+
"types": "./dist/vue3/index.d.ts",
|
|
28
|
+
"default": "./dist/vue3/index.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./dist/vue3/index.mjs": {
|
|
31
|
+
"types": "./dist/vue3/index.d.ts",
|
|
32
|
+
"default": "./dist/vue3/index.mjs"
|
|
33
|
+
},
|
|
18
34
|
"./dist/vue3/style.css": "./dist/vue3/style.css",
|
|
19
35
|
"./style.css": {
|
|
20
36
|
"vue2": "./dist/vue2/style.css",
|
|
@@ -28,14 +44,15 @@
|
|
|
28
44
|
"scripts": {
|
|
29
45
|
"dev:vue3": "cross-env VUE_VERSION=3 vue-demi-switch 3 && vite build --config vite.config.vue3.js --watch && vue-demi-switch 2",
|
|
30
46
|
"dev:vue2": "cross-env VUE_VERSION=2 vue-demi-switch 2 && vite build --config vite.config.vue2.js --watch && vue-demi-switch 3",
|
|
31
|
-
"build": "npm run build:vue3
|
|
47
|
+
"build": "npm run build:vue3 && npm run build:vue2 && npm run build:types",
|
|
32
48
|
"build:vue3": "cross-env VUE_VERSION=3 vue-demi-switch 3 && vite build --config vite.config.vue3.js && vue-demi-switch 2",
|
|
33
49
|
"build:vue2": "cross-env VUE_VERSION=2 vue-demi-switch 2 && vite build --config vite.config.vue2.js && vue-demi-switch 3",
|
|
50
|
+
"build:types": "node scripts/generate-types.cjs",
|
|
34
51
|
"preview": "vite preview",
|
|
35
52
|
"prepublishOnly": "npm run build"
|
|
36
53
|
},
|
|
37
54
|
"peerDependencies": {
|
|
38
|
-
"ant-design-vue": "^1.7.8 ||
|
|
55
|
+
"ant-design-vue": "^1.7.8 || 3.1.1",
|
|
39
56
|
"vue": "^2.7.0 || ^3.2.0"
|
|
40
57
|
},
|
|
41
58
|
"devDependencies": {
|
|
@@ -44,7 +61,7 @@
|
|
|
44
61
|
"@vue/compiler-sfc": "3.4.27",
|
|
45
62
|
"@vue/composition-api": "^1.7.2",
|
|
46
63
|
"ant-design-vue": "1.7.8",
|
|
47
|
-
"ant-design-vue-v3": "npm:ant-design-vue@
|
|
64
|
+
"ant-design-vue-v3": "npm:ant-design-vue@3.1.1",
|
|
48
65
|
"cross-env": "^10.1.0",
|
|
49
66
|
"less": "^4.2.0",
|
|
50
67
|
"vite": "^4.0.0",
|