Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 766 Bytes

README.cn.md

File metadata and controls

66 lines (40 loc) · 766 Bytes

npm 包快速生成模版


展开目录

1

测试toc

1.1

1.1

1.2

1.2

2

这是一个支持eslint typescript的快速构建npm包的模版

只需要克隆,安装依赖就可以运行起来了,毕竟webpack、eslint、babel、ts的配置搞起来还是比较麻烦的~

在你喜欢的目录运行:

git clone https://github.com/theajack/npm-ts-template.git
cd npm-ts-template

使用淘宝镜像安装依赖

npm i --registry=https://registry.npm.taobao.org

使用 webpack-dev-server 运行demo

npm run dev

打包:

npm run build [version]