25 lines
772 B
JSON
25 lines
772 B
JSON
{
|
|
"name": "drawnix",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/drawnix/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"// targets": "to see all targets run: nx show project drawnix --web",
|
|
"targets": {
|
|
"typecheck": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "tsc -p tsconfig.lib.json --noEmit",
|
|
"cwd": "packages/drawnix"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "eslint src --ext .ts,.tsx,.js,.jsx; eslint_status=$?; node ./scripts/check-hover-usage.mjs; hover_status=$?; if [ $eslint_status -ne 0 ]; then exit $eslint_status; fi; exit $hover_status",
|
|
"cwd": "packages/drawnix"
|
|
}
|
|
}
|
|
}
|
|
}
|