diff --git a/package.json b/package.json index 60568b3..55ffa66 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,13 @@ "semantic-release": "semantic-release pre && npm publish && semantic-release post", "coverage": "istanbul cover node_modules/mocha/bin/_mocha", "compile": "babel -d lib/ src/ --source-maps both", - "prepublish": "npm run compile", - "test": "npm run compile && mocha", + "prepare": "npm run compile", + "test": "mocha", "generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose" }, "engines": { "node": ">=6", - "npm": ">=4" + "npm": ">=5" }, "keywords": [ "torrent",