Skip to content

Commit 8464f11

Browse files
committed
chore: 修改发布包结构,独立packages文件作为主工程
1 parent 5a4ab1c commit 8464f11

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
"raw-loader": "^4.0.2",
3838
"terser-webpack-plugin": "^5.1.1",
3939
"webpack": "^5.35.1",
40+
"webpack-bundle-analyzer": "^4.4.2",
4041
"webpack-cli": "^4.6.0"
41-
}
42+
},
43+
"private": true,
44+
"workspaces": [
45+
"vue-devtools/packages/*"
46+
]
4247
}

packages/package.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
{
2-
"name": "vue-vconsole-plugin",
3-
"version": "0.0.0",
4-
"description": "",
5-
"main": "index.js"
2+
"name": "vue-vconsole-devtools",
3+
"version": "1.0.2",
4+
"description": "vConsole vue-devtools plugin. Debug vue anywhere",
5+
"main": "../dist/vue_plugin.js",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/Zippowxk/vue-vconsole-devtools.git"
9+
},
10+
"keywords": [
11+
"vue-devtools",
12+
"vConsole",
13+
"vconsole",
14+
"vue",
15+
"debug",
16+
"vue.js",
17+
"plugin"
18+
],
19+
"author": "xinkai.wang",
20+
"license": "MIT",
21+
"bugs": {
22+
"url": "https://github.com/Zippowxk/vue-vconsole-devtools/issues"
23+
},
24+
"homepage": "https://github.com/Zippowxk/vue-vconsole-devtools#readme",
625
}

0 commit comments

Comments
 (0)