postiz/apps/commands/project.json

55 lines
1.4 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": {
"command": "cd dist/apps/commands && node main.js"
}
},
"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": []
}