Skip to content

Commit

Permalink
add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
mathysth committed Mar 16, 2024
1 parent 1578888 commit dc55df8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bun test
Binary file modified bun.lockb
Binary file not shown.
43 changes: 24 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
{
"name": "cosmosjs",
"private": true,
"scripts": {
"test": "bunx turbo run test",
"build": "bunx turbo run build",
"lint": "bunx biome check ./packages",
"lint:safe": "bunx biome check --apply ./packages",
"lint:unsafe": "bunx biome check --apply-unsafe ./packages"
},
"engines": {
"node": ">=20.11.0"
},
"packageManager": "[email protected]",
"workspaces": ["packages/*", "sample/*"],
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@types/bun": "^1.0.8",
"typescript": "^5.4.2"
}
"name": "cosmosjs",
"private": true,
"scripts": {
"test": "bunx turbo run test",
"build": "bunx turbo run build",
"lint": "bunx biome check ./packages",
"lint:safe": "bunx biome check --apply ./packages",
"lint:unsafe": "bunx biome check --apply-unsafe ./packages",
"prepare": "husky"
},
"engines": {
"node": ">=20.11.0"
},
"packageManager": "[email protected]",
"workspaces": [
"packages/*",
"sample/*"
],
"devDependencies": {
"@biomejs/biome": "1.6.1",
"@types/bun": "^1.0.8",
"husky": "^9.0.11",
"typescript": "^5.4.2"
}
}

0 comments on commit dc55df8

Please sign in to comment.