- 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.
- Traverse trough all tests in
npm run build
- Clean
dist/
directory.- Transpile ES6
*.js
files content:- from
src/
. - into
dist/
.
- from
- Transpile ES6
- Clean
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 toclone.js
script as~/bin/clone-babel-bootstrap
.
micrub / babel-boostrap Goto Github PK
View Code? Open in Web Editor NEWBootstrap Babel 6 project from template