Skip to content

Commit

Permalink
chore: replace husky with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Oct 11, 2023
1 parent 4278b29 commit 5b8f52f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"scripts": {
"build": "ncc build src/index.js",
"lint": "eslint .",
"test": "tap test/**.test.js",
"prepare": "husky install"
"test": "tap test/**.test.js"
},
"author": {
"name": "Salman Mitha",
Expand All @@ -33,14 +32,19 @@
"semver": "^7.5.4"
},
"devDependencies": {
"@fastify/pre-commit": "^2.0.2",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"proxyquire": "^2.1.3",
"sinon": "^16.1.0",
"tap": "^18.4.5"
}
},
"pre-commit": [
"lint",
"test",
"build"
]
}

0 comments on commit 5b8f52f

Please sign in to comment.