From 9b4e1d9088b8168ef2bd980a9b0eb9d65b90720e Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Sat, 7 Jan 2017 12:53:32 +0300 Subject: [PATCH] Update npm scripts --- package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6d1caa8..99db7c8 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,12 @@ "bot" ], "scripts": { - "build": "babel -d ./lib src", - "prepublish": "npm run build", - "test": "istanbul cover ./node_modules/mocha/bin/_mocha", - "prepublish:test": "npm run prepublish && npm run test", "gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md", + "build": "babel -d ./lib src", + "prepublish": "npm run build && npm run gen-doc && contributor", "eslint": "eslint ./src ./test ./examples", - "pretest": "npm run eslint && npm run build" + "pretest": "npm run build", + "test": "npm run eslint && istanbul cover ./node_modules/mocha/bin/_mocha" }, "author": "Yago Pérez ", "license": "MIT",