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.
65 lines
1.6 KiB
65 lines
1.6 KiB
2 years ago
|
{
|
||
|
"name": "auth",
|
||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "apps/auth/src",
|
||
|
"projectType": "application",
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nx/webpack:webpack",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"defaultConfiguration": "production",
|
||
|
"options": {
|
||
|
"target": "node",
|
||
|
"compiler": "tsc",
|
||
|
"outputPath": "dist/apps/auth",
|
||
|
"main": "apps/auth/src/main.ts",
|
||
|
"tsConfig": "apps/auth/tsconfig.app.json",
|
||
|
"assets": ["apps/auth/src/assets"],
|
||
|
"isolatedConfig": true,
|
||
|
"webpackConfig": "apps/auth/webpack.config.js"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {},
|
||
|
"production": {}
|
||
|
}
|
||
|
},
|
||
|
"serve": {
|
||
|
"executor": "@nx/js:node",
|
||
|
"defaultConfiguration": "development",
|
||
|
"options": {
|
||
|
"buildTarget": "auth:build"
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {
|
||
|
"buildTarget": "auth:build:development"
|
||
|
},
|
||
|
"production": {
|
||
|
"buildTarget": "auth:build:production"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nx/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": ["apps/auth/**/*.ts"]
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nx/jest:jest",
|
||
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||
|
"options": {
|
||
|
"jestConfig": "apps/auth/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
},
|
||
|
"configurations": {
|
||
|
"ci": {
|
||
|
"ci": true,
|
||
|
"codeCoverage": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"tags": []
|
||
|
}
|