diff --git a/misc/how_to_publish.md b/misc/how_to_publish.md index 254d2ad0..e5adde14 100644 --- a/misc/how_to_publish.md +++ b/misc/how_to_publish.md @@ -6,6 +6,10 @@ This document describes how to publish vis.js. ## Build - 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. (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 run build -This generates the vis.js library in the folder `./dist`. - - ## Test - Test the library: diff --git a/package.json b/package.json index 231970f5..a3f634f3 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,11 @@ "gulp-rename": "^1.2.2", "gulp-util": "^3.0.7", "merge-stream": "^1.0.0", - "mocha": "^2.4.5", + "mocha": "^3.1.2", "rimraf": "^2.5.2", "uglify-js": "^2.6.2", "uuid": "^2.0.1", "webpack": "^1.12.14", - "yargs": "^4.2.0" + "yargs": "^6.3.0" } }