uni-helpers
v0.0.1-beta.1
Published
助力与库相关辅助功能的集合
Downloads
63
Maintainers
Readme
lib-template-unbuild
开发公共 npm 库的模板
步骤
1. 克隆模板仓库到本地
git clone https://github.com/itmanyong/lib-template-unbuild.git
2. 安装依赖
pnpm install
3.需要修改的信息
- package.json 信息需要修改的字段
name
version
description
author
keywords
repository.url
bugs
- workflows/release.yml 发布流程需要修改的字段
jobs.release.if中的repository_owner比较的值
- examples/package.json 示例项目需要修改的字段
devDependencies下当前库的依赖名称
4.开发
pnpm dev
5.打包
pnpm build
6.发布
pnpm publish