We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
npm version
1 parent f6141b6 commit e892acdCopy full SHA for e892acd
package.json
@@ -29,7 +29,10 @@
29
"format:check": "prettier --check .",
30
"lint": "eslint",
31
"prepare": "scripts/gen-proto.sh",
32
- "test": "vitest"
+ "test": "vitest",
33
+ "preversion": "(git update-index --really-refresh && git diff-index --quiet HEAD) || (echo 'You must commit all changes before running npm version' && exit 1)",
34
+ "version": "npm run build && git add package.json package-lock.json && git commit -m \"modal-js/v$npm_package_version\" && git tag modal-js/v$npm_package_version",
35
+ "postversion": "git push && git push --tags && npm publish"
36
},
37
"dependencies": {
38
"long": "^5.3.1",
0 commit comments