Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/micrub/babel-boostrap

Bootstrap Babel 6 project from template
https://github.com/micrub/babel-boostrap

Last synced: 5 days ago
JSON representation

Bootstrap Babel 6 project from template

Awesome Lists containing this project

README

        

# Babel 6 packages based project bootstrap template.

* Template for project "bootstrapping" using `yarn` and Babel 6 NPM packages.
* Babel 6 NPM packages:
* `babel-cli`
* `babel-polyfill`
* Presets:
* `env`
* Plugins:
* `transform-class-properties`
* `.babelrc`
* With default configuration for presets and plugins mentioned above.
* `mocha` & `chai` for CLI testing.
* Babel is transformed at runtime.
* Basic npm scripts:
* `npm run test`
* Traverse trough all tests in `test/` directory.
* `npm run build`
* Clean `dist/` directory.
* Transpile ES6 `*.js` files content:
* from `src/`.
* into `dist/`.
* `bin/` scripts:
* `clone.js $DIR` clones master into destination directory ,if it doesn't exists and passed path is absolute.
* `create-link.js` creates symlink to `clone.js` script as `~/bin/clone-babel-bootstrap`.