-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32daa52
commit e3b5001
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,13 +54,16 @@ Some utility scripts is in `scripts` directory: | |
}, | ||
"hooks_dir": ".my_hooks", | ||
"tasks": { | ||
"setup-hooks": "deno run --allow-read --allow-run scripts/setup-hooks.ts", | ||
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write scripts/lint-staged.ts", | ||
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts", | ||
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts", | ||
"pre-push": "deno test" | ||
} | ||
} | ||
``` | ||
|
||
💡 You can specify versions of scripts: | ||
`https://pax.deno.dev/kawarimidoll/[email protected]/scripts/setup-hooks.ts` | ||
|
||
### Tasks | ||
|
||
Available Tasks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters