diff --git a/.gitignore b/.gitignore index cf08633..8129dcb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +*.iml .nyc_output +coverage node_modules -lib/ diff --git a/package.json b/package.json index 20ae2a0..addc715 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "scripts": { "prettier": "prettier -l --ignore-path .gitignore .", "eslint": "eslint --ignore-path .gitignore .", - "pretest": "yarn eslint && yarn prettier", + "lint": "yarn eslint && yarn prettier", + "pretest": "yarn lint", "test": "mocha", "autotest": "chokidar src test -c 'npm test'", "cover": "nyc mocha",