Make tsc happier
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "library",
|
||||
"targets": {
|
||||
"build": {
|
||||
"cache": true,
|
||||
"command": "vite build",
|
||||
"inputs": ["src"],
|
||||
"outputs": ["{projectRoot}/lib"],
|
||||
"options": { "cwd": "modules/widget-toggles" },
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"test:unit": {
|
||||
"command": "vitest run",
|
||||
"options": { "cwd": "modules/widget-toggles" }
|
||||
},
|
||||
"lint:types": {
|
||||
"command": "tsc --noEmit",
|
||||
"options": {
|
||||
"cwd": "modules/widget-toggles"
|
||||
},
|
||||
"dependsOn": ["^build"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user