Skip to content

Commit a41ba24

Browse files
authored
add pre-commit (#29)
1 parent c175916 commit a41ba24

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@
2424
},
2525
"homepage": "https://github.com/fastify/fast-json-stringify-compiler#readme",
2626
"devDependencies": {
27+
"@fastify/pre-commit": "^2.0.2",
2728
"fastify": "^4.0.0",
2829
"rimraf": "^3.0.2",
2930
"sanitize-filename": "^1.6.3",
3031
"standard": "^17.0.0",
3132
"tap": "^16.0.0",
3233
"tsd": "^0.25.0"
3334
},
35+
"pre-commit": [
36+
"lint",
37+
"test"
38+
],
3439
"dependencies": {
3540
"fast-json-stringify": "^5.0.0"
3641
}

0 commit comments

Comments
 (0)