Skip to content

Commit dd8afe9

Browse files
committed
cleanup
1 parent 6b8c9ae commit dd8afe9

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Vue 3 + TypeScript + Vite
1+
# Vue Tree
22

3-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4-
5-
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
3+
A simple Vue component to beautify tree-like visualization.

package-lock.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"name": "vue-tree",
3-
"private": true,
2+
"name": "@tlylt/vue-tree",
43
"version": "0.0.0",
54
"type": "module",
65
"scripts": {
@@ -13,6 +12,9 @@
1312
"lodash": "^4.17.21",
1413
"vue": "^3.5.13"
1514
},
15+
"peerDependencies": {
16+
"vue": "^3.0.0"
17+
},
1618
"devDependencies": {
1719
"@types/lodash": "^4.17.16",
1820
"@types/node": "^22.13.10",
@@ -22,5 +24,22 @@
2224
"vite": "^6.2.0",
2325
"vitest": "^3.0.8",
2426
"vue-tsc": "^2.2.4"
25-
}
27+
},
28+
"files": [
29+
"dist",
30+
"src"
31+
],
32+
"author": "tlylt",
33+
"license": "MIT",
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/tlylt/vue-tree"
37+
},
38+
"keywords": [
39+
"vue",
40+
"tree",
41+
"vue tree view",
42+
"visualization",
43+
"vue3"
44+
]
2645
}

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default defineConfig({
2222
rollupOptions: {
2323
external: ["vue"],
2424
output: {
25+
exports: "named",
2526
globals: {
2627
vue: "Vue",
2728
},

0 commit comments

Comments
 (0)