1
1
{
2
2
"name" : " @wsfe/vue-tree" ,
3
- "version" : " 3.0.3 " ,
3
+ "version" : " 3.0.6 " ,
4
4
"types" : " ./types" ,
5
5
"description" : " A vue tree component using virtual list." ,
6
- "main" : " ./dist/vue-tree.umd.min .js" ,
7
- "module" : " ./dist/vue-tree.mjs" ,
6
+ "main" : " ./dist/v3/ vue-tree.umd.js" ,
7
+ "module" : " ./dist/v3/ vue-tree.mjs" ,
8
8
"exports" : {
9
9
"." : {
10
- "import" : " ./dist/vue-tree.mjs" ,
11
- "require" : " ./dist/vue-tree.umd.js"
10
+ "import" : " ./dist/v3/ vue-tree.mjs" ,
11
+ "require" : " ./dist/v3/ vue-tree.umd.js"
12
12
},
13
+ "./style.css" : " ./dist/v3/style.css" ,
13
14
"./*" : " ./*"
14
15
},
15
16
"scripts" : {
16
17
"dev" : " vite" ,
17
18
"dts" : " vue-tsc --declaration --emitDeclarationOnly" ,
18
- "build" : " npm run dts && vite build" ,
19
+ "build" : " npm run dts && npm run build:2 && npm run build:3" ,
20
+ "build:2" : " pnpm --filter vue2 run build" ,
21
+ "build:3" : " vite build" ,
19
22
"docs" : " vue-tsc --noEmit && vite build -c examples/vite.config.ts" ,
20
23
"preview" : " vite preview" ,
21
24
"test" : " jest --watch" ,
22
- "prettier" : " prettier --write \" {src,examples,tests}/**/*.{ts,js,json,vue,tsx,less,scss,less,html}\" --fix"
25
+ "prettier" : " prettier --write \" {src,examples,tests}/**/*.{ts,js,json,vue,tsx,less,scss,less,html}\" --fix" ,
26
+ "postinstall" : " node ./scripts/postinstall.cjs"
23
27
},
24
28
"publishConfig" : {
25
29
"registry" : " https://registry.npmjs.org/" ,
26
30
"access" : " public"
27
31
},
28
32
"files" : [
29
33
" dist" ,
34
+ " scripts" ,
30
35
" src" ,
31
36
" types"
32
37
],
77
82
"vue-jest" : " 5.0.0-alpha.10" ,
78
83
"vue-tsc" : " ^1.0.24"
79
84
},
80
- "peerDependencies" : {
81
- "@vue/composition-api" : " ^1.0.0-rc.1" ,
82
- "vue" : " ^2.0.0 || >=3.0.0"
83
- },
84
85
"peerDependenciesMeta" : {
85
86
"@vue/composition-api" : {
86
87
"optional" : true
87
88
}
88
89
}
89
- }
90
+ }
0 commit comments