Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  Add new build & publish instructions.
  • Loading branch information
msalihaltun committed May 28, 2021
1 parent 36835c9 commit 180ad62
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,14 @@ In plain JS you do not need to require the libraries you just need to register c

## Publishing instructions

This project is set up to automatically be published to npm. To publish:

1. Set the version number environment variable: `export VERSION=1.2.3`
2. Publish: `gulp publish`
This project is set up to automatically be published to npm and bower. To publish:

1. Build : `npm run build`
1. Commit the build : `git commit -am "Build for release"`
1. Bump the version number and tag: `npm version major|minor|patch`
1. Push to origin: `git push && git push --tags`
1. Publish to npm: `npm publish .`
1. If publishing to bower for the first time, you'll need to run `bower register chise.js https://github.com/iVis-at-Bilkent/chise.js.git`

## Team

Expand Down

0 comments on commit 180ad62

Please sign in to comment.