Clone the repository
git clone https://github.com/sul-dlss/iiifManifestLayouts.gitInstall dependencies
npm installRun development server
grunt serveNow you can view the example at http://127.0.0.1:4000/example/
While running grunt serve, an updated version of the module can be found locally in ./stage. To build the package for a release, do the following:
# Will put a freshly built copy of the library in ./dist
grunt buildBump the version using grunt-bump
** IMPORTANT ** This command will do the following:
- bump the version in
package.jsonanddist/*.js - Commit the version bumps
- Tag Commit
- Push commit and tag up to origin
** This should only be run on master, AFTER pull requests have been merged and a new dist version has been built **
# Use --dry-run switch to see what it does
grunt bumpApache-2.0