Skip to content

A boilerplate, using Broccoli, to author JavaScript libraries in ES6/ES7++ but transpile and distribute using Babel.js

License

Notifications You must be signed in to change notification settings

darkphoenixff4/broccoli-babel-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-babel-boilerplate

A boilerplate, using Broccoli, to author JavaScript libraries in ES6/ES7++ but transpile and distribute using Babel.js

  • The root module name is taken from the package.json name property (so you'll want to change that first!)
  • Put your source files in src/, your tests in test/unit/
  • Files named index.js will take their parent directory's name as their AMD module name
    • e.g. src/foo/index.js => project-name/foo
  • You can optionally provide a src/index.html that'll be output to dist/ as well
npm run build;
# builds to dist/
npm start;
# builds to tmp/, starts a webserver, and watches files for changes to rebuild

About

A boilerplate, using Broccoli, to author JavaScript libraries in ES6/ES7++ but transpile and distribute using Babel.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%