0.0.1 • Published 7 years ago

simple-package v0.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

Scaffold out a node module with ES6+, Babel, tape and npm scripts,inspired by rise and (dva)https://github.com/dvajs/dva

Build Status Coverage Status

安装

$ git clone https://github.com/luckyjing/package <your_project_name>

// Install Dependencies
$ npm install
// 执行test目录下的所有测试用例,并且呈现测试覆盖率报告
$ npm run build

// 模块ES6转换为ES5
$ npm run build

// [todo] 产生公共资源(如sth.min.js)
$ npm run dist

功能

  • 支持Babel,所有的ES6语法模块转换为ES5模块后进行发布

License

MIT