node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Asset Pipeline - Sprites

This is a wrapper for spritesheet that will eventually become a plugin for a larger project to manage the whole build process.

It can be used however on it's own. To install run:

npm install @djforth/ap_sprites -g

Now add the configuration details to your package.json like so (N.B. These are the defaults):

    "sprites": {
      "input": "app/assets_uncompiled/sprites",
      "output": "app/assets_uncompiled/images/sprites",
      "cssout": "app/assets_uncompiled/stylesheets/sprites",
      "ext": [