diff --git a/package.json b/package.json index f0fa1cf..f54d8ec 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "test": "mocha", "test:ci": "npm run coverage", "coverage": "nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html", - "preversion": "offline-github-changelog --next=${npm_package_version} > CHANGELOG.md && git add CHANGELOG.md" + "preversion": "offline-github-changelog --next=${npm_new_version} > CHANGELOG.md && git add CHANGELOG.md" }, "repository": { "type": "git",