0.1.1 • Published 9 years ago
@akagi201/lightjs v0.1.1
lightjs
A light boilerplate for building a universal (Node, web, UMD) ES6 npm package.
Features
- Support gulp.
- Support webpack.
- Support TypeScript.
- Support React.
- Support Angular.
Usage
- Clone this repo.
- Modify all relevant entries in
package.jsonandREADME.md. - Run
npm installto install dev dependencies. - Write your ES6 code in
srcfolder. - Write your ES6 tests in
testfolder. - Run
npm run buildto build for node. This will compile to ES5, minify, and output the result tolibfolder. - Run
npm run build-webto build and pack the files for the web. This will output the result todistfolder. - Run
npm publishto pulish to the world.