Skip to content

Commit 9eef316

Browse files
committed
改package.json
1 parent 19706c3 commit 9eef316

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
"scripts": {
66
"serve": "vue-cli-service serve --port 4200",
77
"build": "vue-cli-service build",
8-
"build:lib": "vue-cli-service build --dest lib --target lib ./src/components/index.ts && tsc --project src/components/tsconfig.json"
8+
"build:lib": "vue-cli-service build --dest lib --target lib ./src/components/index.ts && npm run build:types",
9+
"build:types": "tsc --project src/components/tsconfig.json"
910
},
1011
"main": "./lib/vue-virtual-tree.common.js",
1112
"typings": "lib/typings/index.d.ts",
12-
"files": [
13-
"lib",
14-
"typings"
15-
],
13+
"files": ["lib"],
1614
"dependencies": {
1715
"core-js": "^3.6.5",
1816
"lodash.clonedeep": "^4.5.0"

0 commit comments

Comments
 (0)