All Projects → nodebox → img.js

nodebox / img.js

Licence: MIT license
A pixel manipulation library

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

img.js

img.js is a JavaScript library for pixel manipulation.

Development

We use a set of npm scripts to build releases:

During development

Running npm run watchify will automatically create new builds in the build directory whenever the source changes.

Updating the dist

Running npm run dist will build a complete and minified version of g.js in the dist folder. You can also run npm run browserify and npm run uglify separately.

Publishing a release

  1. Update the version number in package.json and bower.json.
  2. Run npm run dist to update the files in the dist folder.
  3. Commit (git commit -a) and create a tag (e.g. git tag 1.2.1). Push and push tags (git push && git push --tags).
  4. Run npm publish to publish the package to npm. You don't have to do anything for Bower.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].