mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
83 lines
2.0 KiB
JSON
83 lines
2.0 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"],
|
|
"cache": true
|
|
},
|
|
"component-test": {
|
|
"inputs": ["default", "^production"],
|
|
"cache": true
|
|
},
|
|
"@nx/jest:jest": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
|
|
"cache": true,
|
|
"options": {
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
},
|
|
"@nx/eslint:lint": {
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/.eslintrc.json",
|
|
"{workspaceRoot}/tools/eslint-rules/**/*"
|
|
],
|
|
"cache": true
|
|
}
|
|
},
|
|
"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",
|
|
"!{projectRoot}/src/test-setup.[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": "angular-projection",
|
|
"useInferencePlugins": false
|
|
}
|