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",