Skip to content

Commit ce23a40

Browse files
chore: add release script
1 parent cbca4f6 commit ce23a40

File tree

2 files changed

+675
-1
lines changed

2 files changed

+675
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
"example:build": "npm -C examples/vite run build",
9494
"lint": "eslint .",
9595
"lint:fix": "eslint --fix .",
96-
"test": "vitest"
96+
"test": "vitest",
97+
"release": "npm run lint && npx standard-version && git push --follow-tags origin main && npm publish"
9798
},
9899
"peerDependencies": {
99100
"@nuxt/kit": "^3.0.0",
@@ -121,6 +122,7 @@
121122
"magic-string": "^0.30.0",
122123
"pathe": "^1.1.0",
123124
"rollup": "^3.19.1",
125+
"standard-version": "^9.5.0",
124126
"tsup": "^6.6.3",
125127
"typescript": "^5.0.2",
126128
"vite": "^4.2.0",

0 commit comments

Comments
 (0)