https://github.com/peterroe/create-js-lib
Cli for create js library🛠
https://github.com/peterroe/create-js-lib
cli cmd vite vue
Last synced: 11 months ago
JSON representation
Cli for create js library🛠
- Host: GitHub
- URL: https://github.com/peterroe/create-js-lib
- Owner: peterroe
- Created: 2021-12-16T14:14:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:45:09.000Z (over 2 years ago)
- Last Synced: 2023-12-15T15:56:44.901Z (over 2 years ago)
- Topics: cli, cmd, vite, vue
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 目标
一个快速搭建js库的脚手架,用于发布NPM包
测试环境基于Vue3和Vite
## 安装
```shell
$ yarn add -g @peterroe/create-js-lib
```
## 搭建项目
```shell
$ create-js-lib
```
## 启动项目
```shell
$ yarn
$ yarn dev
```
## 打包
提供UMD和ESM两种基本打包格式
```shell
$ yarn build
```