0.0.1 • Published 2 months ago
awesome-common v0.0.1
best-common
一个 JavaScript SDK 库
引用方式
NPM
$ npm install best-common --save
CDN
<script src='./dist/best-common.min.js'></script>
文档
技术栈
模块打包:rollup
rollup 文档 https://rollupjs.org
rollup 中文文档 https://cn.rollupjs.org
文档生成:jsdoc
测试:jest
代码质量:eslint
代码风格:prettier
Git Commit提交规范:husky + lint-staged + commitlint
脚本命令
开发 npm run dev
打包 npm run build
单元测试 npm run test
生成文档 npm run generate-docs
校验 JS 代码 npm run lint
代码修复 npm run lint:fix
登录 npm login
发布包 npm publish
0.0.1
2 months ago