Skip to content

micrub/babel-baseplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Basic base-plate for babel based development on node.js

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published