70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"name": "landing",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"sourceRoot": "landing/src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@analogjs/platform:vite",
|
|
"defaultConfiguration": "production",
|
|
"outputs": [
|
|
"{workspaceRoot}/dist/apps/landing"
|
|
],
|
|
"options": {
|
|
"configFile": "landing/vite.config.ts",
|
|
"main": "landing/src/main.ts",
|
|
"outputPath": "dist/landing/client",
|
|
"tsConfig": "landing/tsconfig.app.json"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"mode": "development"
|
|
},
|
|
"production": {
|
|
"sourcemap": false,
|
|
"mode": "production"
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@analogjs/platform:vite-dev-server",
|
|
"continuous": true,
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "landing:build",
|
|
"port": 4200
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "landing:build:development",
|
|
"hmr": true
|
|
},
|
|
"production": {
|
|
"buildTarget": "landing:build:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
},
|
|
"serve-static": {
|
|
"continuous": true,
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "landing:build",
|
|
"port": 4200,
|
|
"staticFilePath": "dist/landing/browser",
|
|
"spa": true
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@analogjs/vitest-angular:test",
|
|
"options": {
|
|
"config": "vite.config.ts"
|
|
}
|
|
}
|
|
}
|
|
}
|