HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.44k stars 526 forks source link

Add package.json for dependencies #269

Closed fresham closed 10 years ago

fresham commented 10 years ago

This allows contributors to easily install development dependencies via npm install. The 'private' property prevents the project from being listed as a package in the npm registry (as it is not actually compatible with Node just yet).

Also added npm-debug.log to the project .gitignore so it does not get tracked since it's just a by-product of npm.

This will probably also need jasmine and other dependencies as this is just a foundation.

Also, note that since flotr2 is not yet Node-compatible, it should not be installed or used as an npm package. We are simply leveraging the dependency management features.

fresham commented 10 years ago

This pull request fixes the main problem in this issue.

cesutherland commented 10 years ago

Looks good to me!