Skip to content
Edward Silverton edited this page Dec 5, 2017 · 34 revisions

Config

  • root: string

    The path to the uv directory. Use a relative path e.g. root: '../../uv'

  • configUri: string

    The path to your config json

Distribution

Ensure you have git tagging on version disabled:

npm config set git-tag-version=false

On npm version, a package.json is created in /examples/uv with the new version number.

This only works on Windows at present. But you can change the npm script to use $npm_package_version instead of %npm_package_version%

In universalviewer

grunt build --dist

cd examples

git add -A
git commit -m "message"
npm version major/minor/patch
git push origin gh-pages
npm publish --tag beta