mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 06:19:58 +00:00
Add typecheck script to package.json (#1092)
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
# Bash commands
|
||||
|
||||
- `tsc` Run the typechecker
|
||||
- `nr build` Build the project
|
||||
- `nr lint:fix` Run ESLint
|
||||
- `npm run typecheck` Run the typechecker
|
||||
- `npm run build` Build the project
|
||||
- `npm run lint:fix` Run ESLint
|
||||
|
||||
# Code style
|
||||
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
"lint:fix": "eslint --fix",
|
||||
"lint:ci": "eslint src",
|
||||
"format": "prettier --check './src/*.{js,ts,tsx,vue,mts}'",
|
||||
"format:fix": "prettier --write './src/*.{js,ts,tsx,vue,mts}'"
|
||||
"format:fix": "prettier --write './src/*.{js,ts,tsx,vue,mts}'",
|
||||
"typecheck": "tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user