测试toc
1.1
1.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]