Skip to content

Commit e32ffcf

Browse files
committed
chore: add publishing info to the readme
1 parent b63262f commit e32ffcf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ element.addEventListener = element.addEventListener._original;
148148
- About scrolling performance https://plus.google.com/+RickByers/posts/cmzrtyBYPQc
149149
- Nice Chrome blog article https://blog.chromium.org/2016/05/new-apis-to-help-developers-improve.html
150150

151+
## Publishing
152+
153+
To release, simply run `npm version <new_Version_number>` and then `pnpm publish`.
154+
151155
## Author
152156

153157
[@zzarcon](https://github.com/zzarcon)

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"fix": "pnpm eslint --fix && prettier . --write",
1414
"build": "microbundle",
1515
"watch": "microbundle watch",
16-
"prepublishOnly": "npm version && pnpm test-ci && pnpm build",
17-
"release": "pnpm publish"
16+
"prepublishOnly": "pnpm test-ci && pnpm build"
1817
},
1918
"keywords": [
2019
"default passive events",

0 commit comments

Comments
 (0)