Skip to content

Commit 7efeab5

Browse files
committed
chore: bump version to 2.1.0 and add release scripts
1 parent c3a3bd0 commit 7efeab5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-query-external-sync",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "A tool for syncing React Query state to an external Dev Tools",
55
"main": "dist/bundle.cjs.js",
66
"module": "dist/bundle.esm.js",
@@ -10,7 +10,14 @@
1010
"types": "dist/types/index.d.ts",
1111
"scripts": {
1212
"build": "tsc --outDir dist --declarationDir dist/types --declaration true && rollup -c rollup.config.mjs",
13-
"test": "echo \"Error: no test specified\" && exit 1"
13+
"test": "echo \"Error: no test specified\" && exit 1",
14+
"version:patch": "npm version patch",
15+
"version:minor": "npm version minor",
16+
"version:major": "npm version major",
17+
"prepublishOnly": "npm run build",
18+
"release:patch": "npm run version:patch && npm publish",
19+
"release:minor": "npm run version:minor && npm publish",
20+
"release:major": "npm run version:major && npm publish"
1421
},
1522
"repository": {
1623
"type": "git",

0 commit comments

Comments
 (0)