Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jayphelps/broccoli-babel-boilerplate
[NO LONGER MAINTAINED] A boilerplate, using Broccoli, to author JavaScript libraries in ES6/ES7++ but transpile and distribute using Babel.js
https://github.com/jayphelps/broccoli-babel-boilerplate
Last synced: 21 days ago
JSON representation
[NO LONGER MAINTAINED] A boilerplate, using Broccoli, to author JavaScript libraries in ES6/ES7++ but transpile and distribute using Babel.js
- Host: GitHub
- URL: https://github.com/jayphelps/broccoli-babel-boilerplate
- Owner: jayphelps
- License: mit
- Created: 2015-05-07T21:05:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T20:40:17.000Z (about 8 years ago)
- Last Synced: 2024-08-10T06:49:19.723Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 27
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [NO LONGER MAINTAINED] Use at your own risk or for reference.
# 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```bash
npm run build;
# builds to dist/
npm start;
# builds to tmp/, starts a webserver, and watches files for changes to rebuild
```