102 lines
2.9 KiB
JSON
102 lines
2.9 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/angular",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "packages/angular/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["{workspaceRoot}/coverage/packages/angular"]
|
|
},
|
|
"build-base": {
|
|
"executor": "@nrwl/js:tsc",
|
|
"options": {
|
|
"outputPath": "build/packages/angular",
|
|
"tsConfig": "packages/angular/tsconfig.lib.json",
|
|
"main": "packages/angular/index.ts",
|
|
"updateBuildableProjectDepsInPackageJson": false,
|
|
"assets": [
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/files/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/creator-files/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/files/**/.gitkeep",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/*.js",
|
|
"ignore": ["**/jest.config.js"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/angular",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
},
|
|
"outputs": ["{options.outputPath}"]
|
|
},
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": ["{workspaceRoot}/build/packages/angular"],
|
|
"options": {
|
|
"commands": [
|
|
{
|
|
"command": "node ./scripts/build-angular"
|
|
},
|
|
{
|
|
"command": "node ./scripts/copy-readme.js angular"
|
|
}
|
|
],
|
|
"parallel": false
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"packages/angular/**/*.ts",
|
|
"packages/angular/**/*.spec.ts",
|
|
"packages/angular/**/*_spec.ts",
|
|
"packages/angular/**/*.spec.tsx",
|
|
"packages/angular/**/*.spec.js",
|
|
"packages/angular/**/*.spec.jsx",
|
|
"packages/angular/**/*.d.ts",
|
|
"packages/angular/**/executors/**/schema.json",
|
|
"packages/angular/**/generators/**/schema.json",
|
|
"packages/angular/generators.json",
|
|
"packages/angular/executors.json",
|
|
"packages/angular/package.json",
|
|
"packages/angular/migrations.json"
|
|
]
|
|
},
|
|
"outputs": ["{options.outputFile}"]
|
|
}
|
|
},
|
|
"implicitDependencies": ["workspace", "cypress", "jest"]
|
|
}
|