diff --git a/package.json b/package.json index 5d74a8a..49655e2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "url": "git://github.com/makinacorpus/Leaflet.TextPath.git" }, "license": "MIT", - "scripts": {}, + "scripts": { + "version": "git changelog -t $npm_package_version && git add CHANGELOG.md" + }, "peerDependencies": { "leaflet": "^1.3.1" }