remove src from .npmignore (or leave it as is - see 2)
babel src to es dir without the transform-es2015-modules-commonjs plugin so users of this library won't have to include all the plugins you use in your internal implementation and then set "jsnext:main": "es/index.js". check out redux as example
In order to make it useful I'll suggest:
src
from.npmignore
(or leave it as is - see 2)src
toes
dir without thetransform-es2015-modules-commonjs
plugin so users of this library won't have to include all the plugins you use in your internal implementation and then set"jsnext:main": "es/index.js"
. check out redux as example