fxa/libs/shared/cloud-tasks/project.json

55 строки
1.4 KiB
JSON

{
"name": "shared-cloud-tasks",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/shared/cloud-tasks/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"main": "libs/shared/cloud-tasks/src/index.ts",
"outputPath": "dist/libs/shared/cloud-tasks",
"outputFileName": "main.js",
"tsConfig": "libs/shared/cloud-tasks/tsconfig.lib.json",
"declaration": true,
"assets": [
{
"glob": "libs/shared/cloud-tasks/README.md",
"input": ".",
"output": "."
}
],
"platform": "node"
},
"configurations": {
"development": {
"minify": false
},
"production": {
"minify": true
}
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/shared/cloud-tasks/**/*.ts",
"libs/shared/cloud-tasks/package.json"
]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/shared/cloud-tasks/jest.config.ts"
}
}
}
}