No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
example
src
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
LICENSE
README.md
iiifManifestLayouts.sublime-project
package.json

README.md

iiifManifestLayouts

Installation for development

Clone the repository

git clone https://github.com/sul-dlss/iiifManifestLayouts.git

Install dependencies

npm install

Run development server

grunt serve

Now you can view the example at http://127.0.0.1:4000/example/

Building a release

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 build

Bump the version using grunt-bump

** IMPORTANT ** This command will do the following:

  • bump the version in package.json and dist/*.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 bump

License

Apache-2.0