Skip to content

Semlaw/npm-template

Repository files navigation

npm-template

a template for npm package development。

Build Status Coverage Status

IDE

Usage

npm start         # 同 npm run watch

npm run dev       # 同 npm run watch

npm run watch     # 以 webpack mode = development 构建 umd 文件,并对源文件进行修改监听

npm build         # 以 webpack mode = production 构建 umd 文件,输出至 ./dist

npm test          # 使用 jest 运行 ./tests 内的用例,在 ./coverage 生成测试报告

npm run coveralls # 提交测试覆盖率报告提交给 Coveralls (需在本地配置.coveralls.yml配置文件)

Desc

  • src 源代码
  • tests jest测试代码
  • .babelrc babel配置
  • .eslintrc.js eslintrc配置
  • gulpfile.js gulp构建脚本
  • webpack.config.js webpack配置
  • travis.yml travis配置`

About

npm-template project

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages