diff --git a/.release-it.json b/.release-it.json index da1f771..52c22c8 100644 --- a/.release-it.json +++ b/.release-it.json @@ -5,6 +5,10 @@ "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, + "hooks": { + "before:init": ["yarn lint", "yarn test", "yarn prepare"], + "after:release": ["rm -rf lib"] + }, "npm": { "publish": true }, diff --git a/package.json b/package.json index 4ab2945..b303772 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-zoom-toolkit", - "version": "1.0.0", + "version": "1.0.1", "description": "Smoothly zoom any image, video or component you want in a performant way!", "main": "lib/commonjs/index", "module": "lib/module/index",