An open API service indexing awesome lists of open source software.

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🛠

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
```