yarn install
Usage examples of following plugins can be seen in main unit test source file.
-
transform-object-rest-spread
-
transform-async-to-generator
-
syntax-trailing-function-commas
- -
transform-decorators
- Conflicts with ESLint parser
Before testing src/
and test/
source files
MUST be validated by eslint before they will be executed by mocha
.
npm test
See mocha-steps and usage example in main unit test source file.
npm lint
- Clone
babel-baseplate
repository. - Create
~/bin/
if not exist. - From repository's directory execute
./bin/create-link.js
- Reload shell environment
- From any directory execute following to clone 'babel-baseplate
master and add
babel-baseplateas
upstream` remote.- Accepts only absolute non existin path as target for cloning.
create-babel-baseplate-script.sh $(pwd)/glpl
tools/generator.js tools/gen.js