From 6aa9d379e62e3e2d2c0ab2f32d61c331c1cd613d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20S=C3=A1nchez-Mar=C3=ADn?= Date: Wed, 20 Apr 2016 16:21:11 -0700 Subject: [PATCH] npm: add version script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 836bc30..7a8a266 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ }, "scripts": { "test": "mocha --harmony --full-trace --check-leaks", - "preversion": "npm run test" + "preversion": "npm run test", + "version": "git add -A ." } }