mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "custom-plugin",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/custom-plugin/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/custom-plugin",
|
|
"main": "libs/custom-plugin/src/index.ts",
|
|
"tsConfig": "libs/custom-plugin/tsconfig.lib.json",
|
|
"assets": [
|
|
"libs/custom-plugin/*.md",
|
|
{
|
|
"input": "./libs/custom-plugin/src",
|
|
"glob": "**/!(*.ts)",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./libs/custom-plugin/src",
|
|
"glob": "**/*.d.ts",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./libs/custom-plugin",
|
|
"glob": "generators.json",
|
|
"output": "."
|
|
},
|
|
{
|
|
"input": "./libs/custom-plugin",
|
|
"glob": "executors.json",
|
|
"output": "."
|
|
}
|
|
],
|
|
"updateBuildableProjectDepsInPackageJson": true
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"libs/custom-plugin/**/*.ts",
|
|
"libs/custom-plugin/package.json",
|
|
"libs/custom-plugin/generators.json"
|
|
]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "libs/custom-plugin/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|