tslib-template-project
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Typescript Library Template Project

用于编写typescript库的项目工程模板,包括以下功能内容

  1. pnpm 管理
  2. typescript 运行环境
  3. ts 单元测试
  4. git commit 钩子
  5. 代码 format 和 lint
  6. 自动生成 changelog 文件

https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c 还缺少

  1. commit 钩子
  2. 自动生成 changelog
  1. Setup Nodejs(16.14.0) npm账号注册
  2. 创建文件夹、生成package.json
  3. 安装 ts 依赖
  4. 配置 package.json 文件
  5. 安装代码格式化依赖
  6. 配置 package.json
  7. 安装单测相关依赖
  8. 配置 package.json
  9. 安装 git hooks 相关依赖
  10. 配置 package.json
  11. (发包) 版本管理 未做

Package Sidebar

Install

npm i tslib-template-project

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.87 kB

Total Files

2

Last publish

Collaborators

  • brandnewvoice