es6-kameita

0.3.0 • Public • Published

ES6 project template for Browser and Node

Licence Version

亀板 ( Kameita ) は陶芸、ろくろの道具です。粘土をのせたりします。

Getting Started

git clone https://github.com/ahomu/es6-Kameita.git ./your-project
cd ./your-project
rm -rf .git
npm install

ES6 Compatibility

This template is dependent on 6to5/6to5. Please see 6to5's document site.

Optional Runtime and Polyfill are already supported.

Convert the es6 files into es5 compat files, and browserifying

npm run build

Build & bump version in package.json

npm run patch
npm run minor
npm run major

Start watching src files (auto build when file changed)

npm run watch

Run tests by testem (auto re-run when file changed)

npm run testem

Run tests for ci

npm test
# or npm run test

for Node modules

Initial setting is for browser, please following steps if you want to use in the Node module.

  1. Remove the comment in Gulpfile.js, to set for node setting.
  2. testem.node.json rename to testem.json
  3. Add import * as assert from 'power-assert'; into test code.

Using libraries

ToDo

  • register Gemnasium
  • add CI service configuration (Travis, Circle, etc)
  • add coverage reporter
  • add code quality reporter
  • replace jshint with eslint

Readme

Keywords

none

Package Sidebar

Install

npm i es6-kameita

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • ahomu