mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
82 lines
2.0 KiB
JSON
82 lines
2.0 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"npmScope": "angular-challenges",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build",
|
|
"lint",
|
|
"test",
|
|
"e2e",
|
|
"component-test"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"]
|
|
},
|
|
"test": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
},
|
|
"e2e": {
|
|
"inputs": ["default", "^production"]
|
|
},
|
|
"lint": {
|
|
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
|
|
},
|
|
"component-test": {
|
|
"inputs": ["default", "^production"]
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/cypress/**/*",
|
|
"!{projectRoot}/**/*.cy.[jt]s?(x)",
|
|
"!{projectRoot}/cypress.config.[jt]s"
|
|
],
|
|
"sharedGlobals": []
|
|
},
|
|
"cli": {
|
|
"packageManager": "npm"
|
|
},
|
|
"generators": {
|
|
"@nx/angular:application": {
|
|
"style": "scss",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "none",
|
|
"e2eTestRunner": "none",
|
|
"inlineStyle": "true",
|
|
"inlineTemplate": "true",
|
|
"prefix": "app",
|
|
"skipTests": "true",
|
|
"standalone": "true"
|
|
},
|
|
"@nx/angular:library": {
|
|
"linter": "eslint",
|
|
"unitTestRunner": "jest",
|
|
"prefix": "lib",
|
|
"buildable": "true"
|
|
},
|
|
"@nx/angular:component": {
|
|
"style": "scss",
|
|
"changeDetection": "OnPush",
|
|
"inlineStyle": "true",
|
|
"inlineTemplate": "true",
|
|
"skipTests": "true",
|
|
"standalone": "true"
|
|
}
|
|
},
|
|
"defaultProject": "projection"
|
|
}
|