diff --git a/CHANGELOG.md b/CHANGELOG.md index 8eb6474..c359007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 6.0.7 - 2022-07-23 + +* use prepublishOnly rather than prepare + ## 6.0.6 - 2022-02-03 * update typescript definition diff --git a/package.json b/package.json index edf0254..ec14bc8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "./": "./" }, - "version": "6.0.6", + "version": "6.0.7", "description": "Return an object as an 'x-www-form-urlencoded' string", "author": "Chris ", "license": "MIT", @@ -54,9 +54,9 @@ "eslint": "^7.26.0" }, "scripts": { - "test": "ava form-urlencoded.spec.mjs", + "test": "npm start && ava form-urlencoded.spec.mjs", "lint": "eslint form-urlencoded.mjs", "start": "cp form-urlencoded.mjs form-urlencoded.js && sed -i 's/export default/module.exports =/' form-urlencoded.js", - "prepare": "npm start && npm run lint && npm test" + "prepublishOnly": "npm start && npm run lint && npm test" } }