Skip to content

Commit

Permalink
fix(添加tsconfig.json到cli的依赖列表): tsconfig.json
Browse files Browse the repository at this point in the history
affects: @varlet/cli, @varlet/ui
  • Loading branch information
haoziqaq committed Nov 23, 2020
1 parent af8f2b6 commit 3e55747
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions packages/varlet-cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# varlet cli
varlet cli是一个基于vue3的组件库构建命令行,可以快速搭建一个基于vue单文件组件的UI组件库

## 快速上手
```
npm安装:npm i typescript [email protected] [email protected] @varlet/cli -D
yarn安装:yarn add typescript [email protected] [email protected] @varlet/cli -D
```

```
添加如下代码到package.json
"scripts": {
"dev": "varlet-cli dev",
"build": "varlet-cli build",
"compile": "varlet-cli compile",
"compile:watch": "varlet-cli compile --watch",
"create": "varlet-cli create",
"jest": "varlet-cli jest"
},
"peerDependencies": {
"vue": "3.0.2"
}
```

3 changes: 2 additions & 1 deletion packages/varlet-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"files": [
"lib",
"site",
"varlet.default.config.js"
"varlet.default.config.js",
"tsconfig.json"
],
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions packages/varlet-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"create": "varlet-cli create",
"jest": "varlet-cli jest"
},
"peerDependencies": {
"vue": "3.0.2"
},
"gitHead": "5dabda353dc88340816ddc6f6ac8081c0680908f"
}

0 comments on commit 3e55747

Please sign in to comment.