From ed135a7462dadf491b2f0be2fd0f6c23fc2288c2 Mon Sep 17 00:00:00 2001 From: Mark Jackson Date: Wed, 29 Nov 2017 14:50:24 -0800 Subject: [PATCH] Updated version scripts --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 04cc2fb..a35cd44 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "React Native wrapper around Google's Nearby API SDK", "main": "index.js", "scripts": { + "preversion": "", + "version": "git add CHANGELOG.md", + "postversion": "git push && git push --tags", "postinstall": "scripts/install.js", "start": "node node_modules/react-native/local-cli/cli.js start", "run:packager": "./node_modules/react-native/packager/packager.sh", @@ -49,4 +52,4 @@ "url": "https://github.com/badfeatures/react-native-nearby-api/issues" }, "homepage": "https://github.com/badfeatures/react-native-nearby-api#readme" -} +} \ No newline at end of file