Closed backflip closed 8 years ago
Hi, thanks for submitting this PR.
One thing doesn't seem totally ok :
The compile script shouldn't be triggered on post install, but rather on prepublish.
Ah, so would you want to publish the compiled scripts, too? Sounds good to me.
Yes
Okay, I have updated the package.json
and README.md
accordingly.
In addition, I have created a .npmignore
. It corresponds to .gitignore
but does not contain dist/
so npm can publish it (without an .npmignore
it would apparently use the .gitignore
file)
Merged, Thanks a lot for contributing ! I'm publishing npm version 0.1.1
Hey Edgar, thanks a lot for this fork!
Would you consider adding this very basic browser example? While preparing it, I took the liberty of adding an additional Gulp taks using webpack to generate a build for the browser. This should make it easier for many users to generate the browser build since they don't have to globally install browserify, e.g.
Additionally, I have added npm scripts triggering the gulp tasks and "localized" some variables which ended up polluting the global scope.