40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"name": "utils",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/utils/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/vite:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"outputPath": "dist/utils",
|
|
"configFile": "packages/utils/vite.config.ts"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["packages/utils/**/*.ts"]
|
|
}
|
|
},
|
|
"typecheck": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "tsc --noEmit -p packages/utils/tsconfig.json"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/vite:test",
|
|
"outputs": ["{options.reportsDirectory}"],
|
|
"options": {
|
|
"passWithNoTests": false,
|
|
"reportsDirectory": "../../coverage/packages/utils"
|
|
}
|
|
}
|
|
},
|
|
"tags": ["type:library", "scope:shared"]
|
|
}
|