You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
952 B
41 lines
952 B
1 year ago
|
{
|
||
|
"name": "pages",
|
||
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "pages/src",
|
||
|
"projectType": "library",
|
||
|
"tags": [],
|
||
|
"targets": {
|
||
|
"lint": {
|
||
|
"executor": "@nx/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": ["pages/**/*.{ts,tsx,js,jsx}"]
|
||
|
}
|
||
|
},
|
||
|
"build": {
|
||
|
"executor": "@nx/vite:build",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"defaultConfiguration": "production",
|
||
|
"options": {
|
||
|
"outputPath": "dist/pages"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {
|
||
|
"mode": "development"
|
||
|
},
|
||
|
"production": {
|
||
|
"mode": "production"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nx/vite:test",
|
||
|
"outputs": ["{options.reportsDirectory}"],
|
||
|
"options": {
|
||
|
"passWithNoTests": true,
|
||
|
"reportsDirectory": "../coverage/pages"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|