65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"name": "commands",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/commands/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/webpack:webpack",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"target": "node",
|
|
"compiler": "tsc",
|
|
"outputPath": "dist/apps/commands",
|
|
"main": "apps/commands/src/main.ts",
|
|
"tsConfig": "apps/commands/tsconfig.app.json",
|
|
"webpackConfig": "apps/commands/webpack.config.js"
|
|
},
|
|
"configurations": {
|
|
"development": {},
|
|
"production": {}
|
|
}
|
|
},
|
|
"command": {
|
|
"executor": "nx:run-commands",
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "commands:build",
|
|
"inspect": false,
|
|
"command": "cd dist/apps/commands && node main.js"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "commands:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "commands:build:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["apps/commands/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "apps/commands/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|