|
@ -6,6 +6,10 @@ This document describes how to publish vis.js. |
|
|
## Build |
|
|
## Build |
|
|
|
|
|
|
|
|
- Change the version number of the library in `package.json`. |
|
|
- Change the version number of the library in `package.json`. |
|
|
|
|
|
|
|
|
|
|
|
npm version major|minor|patch |
|
|
|
|
|
git commit -m "bumped package.json version to X.XX.X" |
|
|
|
|
|
|
|
|
- Open `HISTORY.md`, write down the changes, version number, and release date. |
|
|
- Open `HISTORY.md`, write down the changes, version number, and release date. |
|
|
(Changes since last release: `git log \`git describe --tags --abbrev=0\`..HEAD --oneline`) |
|
|
(Changes since last release: `git log \`git describe --tags --abbrev=0\`..HEAD --oneline`) |
|
|
|
|
|
|
|
@ -21,9 +25,6 @@ This document describes how to publish vis.js. |
|
|
npm update |
|
|
npm update |
|
|
npm run build |
|
|
npm run build |
|
|
|
|
|
|
|
|
This generates the vis.js library in the folder `./dist`. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Test |
|
|
## Test |
|
|
|
|
|
|
|
|
- Test the library: |
|
|
- Test the library: |
|
|