Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.43 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.43 KB

Basic setup for babel based development

Version 1.0.2

Install dependencies

yarn install

Installed Babel plugins

Usage examples of following plugins can be seen in main unit test source file.

Testing

Before testing src/ and test/ source files MUST be validated by eslint before they will be executed by mocha.

npm test

Sequential scenarios for mocha support

See mocha-steps and usage example in main unit test source file.

ESlint

npm lint

Creating project based on babel-baseplate (WIP)

  • 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-baseplatemaster and addbabel-baseplateasupstream` remote.
    • Accepts only absolute non existin path as target for cloning.
create-babel-baseplate-script.sh $(pwd)/glpl

Scaffolding (WIP)

tools/generator.js tools/gen.js