diff --git a/package.json b/package.json index d99898ef6..10ecab926 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "src/index.js", "scripts": { "changelog": "lerna-changelog", - "lint": "node_modules/.bin/eslint src test", - "test": "mocha", - "preversion": "npm lint && npm test", + "lint:js": "node_modules/.bin/eslint src test", + "test": "npm run-script lint:js && mocha", + "preversion": "npm test", "postversion": "git push origin master --tags" }, "repository": {