llafuente / js-2dmath

Fast 2d geometry math: Vector2, Rectangle, Circle, Matrix2x3 (2D transformation), Circle, BoundingBox, Line2, Segment2, Intersections, Distances, Transitions (animation/tween), Noise, Random numbers
96 stars 22 forks source link

Removing NPM postinstall script #6

Closed jfschwarz closed 9 years ago

jfschwarz commented 9 years ago

I'd like to use this module via NPM, but install fails as the postinstall script tries to run grunt, which is not specified in the package dependencies.

When using the module via NPM, you usually don't need a browser build. So I would rather not add grunt to the dependencies, but just remove the postinstall script.

Thanks for this lib, looking forward to giving it a try!

jfschwarz commented 9 years ago

I just realized that the browser build is under version control (in the dist directory). This renders the postinstall script obsolete in any case...

llafuente commented 9 years ago

merged and npm publish: 0.1.1

thanks!