ES6 Widget Example
An evolving approach to creating a Jupyter widget with ES6 ne ES2015 classes.
Challenges
- Backbone and ES6 Classes have slightly different opinions, especially with respect to static properties
Process Tools
- [x]
npm run
for minimal automation tasks - [x]
watch
for live developing with continuous integration - [x]
babel
for compilation- [x]
babel-preset-es2015
for un-opinonated use of experimental features - [x]
babel-plugin-transform-es2015-modules-amd
forrequire.js
-compatible modules
- [x]
- [x]
esdoc
for documentation - [x]
eslint
for code style - [ ]
mocha
for tests and coverage - [ ]
browserify
for (inevitable) packaging of external dependencies distributed onnpm