Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
Cleaned up scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nblackburn committed Jun 8, 2019
1 parent fc96cc1 commit a68ba04
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"version": "0.3.0",
"main": "source/index.js",
"scripts": {
"lint": "eslint source/**/* --fix",
"test": "./node_modules/.bin/jest",
"format": "prettier source/**/* --write",
"coverage": "./node_modules/.bin/jest --coverage"
"test": "jest",
"lint": "eslint source/**/*",
"coverage": "jest --coverage",
"lint:fix": "eslint source/**/* --fix",
"format": "prettier source/**/* --check",
"format:fix": "prettier source/**/* --write"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,7 +44,7 @@
"husky": {
"hooks": {
"pre-push": "npm run test",
"pre-commit": "npm run lint && npm run format"
"pre-commit": "npm run lint:fix && npm run format:fix"
}
}
}

0 comments on commit a68ba04

Please sign in to comment.