mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "server",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/server/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/webpack:webpack",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"dependsOn": ["^build"],
|
|
"options": {
|
|
"target": "node",
|
|
"compiler": "tsc",
|
|
"outputPath": "dist/apps/server",
|
|
"main": "apps/server/src/main.ts",
|
|
"tsConfig": "apps/server/tsconfig.app.json",
|
|
"assets": ["apps/server/src/assets"],
|
|
"webpackConfig": "apps/server/webpack.config.js"
|
|
},
|
|
"configurations": {
|
|
"development": {},
|
|
"production": {}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx/js:node",
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "server:build"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "server:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "server:build:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["apps/server/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "apps/server/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": ["backend"]
|
|
}
|