1.0.0 • Published 8 years ago

snapshot-widget v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Snapshot Widget

For local development:

  1. Run yarn install
  2. Run yarn build:watch
  3. Run yarn serve
  4. Go to http://localhost:5000/example.html

Publish to npm:

  1. Run yarn build
  2. Update version number in ./dist/package.json
  3. Update ./dist/CHANGELOG.md
  4. Do npm publish --access public from ./dist folder. You need to login into npm using npm login for this step.

Deploy to VFF:

We host the widget javascript in VFF. Steps to deploy to VFF is as follows: 1. Create new branch in VFF project 2. Go to src/static/snapshot_widget/ folder in VFF project 3. Run inv update and push to your branch 4. Merge and deploy