This repository has been archived by the owner on Jun 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use just command runner instead of npm scripts
- Loading branch information
1 parent
dffc7da
commit 44494f6
Showing
3 changed files
with
44 additions
and
16 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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
default: develop | ||
|
||
astro-sync: | ||
npx astro sync | ||
|
||
astro-check: astro-sync | ||
npx astro check | ||
|
||
prettier-check: | ||
npx prettier --check source | ||
|
||
eslint: | ||
npx eslint . --ext ".ts" | ||
|
||
copy-paste-detection: | ||
npx jscpd source | ||
|
||
lint: astro-check prettier-check eslint copy-paste-detection | ||
|
||
@compile: | ||
npx tsc | ||
|
||
@develop $FORCE_COLOR="1": | ||
npx tsx ./source/start-develop.ts | ||
|
||
@build: | ||
npx astro build | ||
|
||
@preview: | ||
npx astro preview | ||
|
||
@test-unit: compile | ||
npx ava | ||
|
||
@test-unit-coverage: compile | ||
npx c8 ava |
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