Skip to content

Commit

Permalink
Merge pull request #44 from iambumblehead/use-prepublishOnly-rather-t…
Browse files Browse the repository at this point in the history
…han-prepare

use prepublishOnly rather than prepare
  • Loading branch information
iambumblehead authored Jul 23, 2022
2 parents a9f0b57 + 3ed7dfe commit c908302
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -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"
}
}

0 comments on commit c908302

Please sign in to comment.