You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.5 KiB
80 lines
1.5 KiB
2 years ago
|
{
|
||
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||
|
"tasksRunnerOptions": {
|
||
|
"default": {
|
||
|
"runner": "nx-cloud",
|
||
|
"options": {
|
||
|
"cacheableOperations": [
|
||
|
"build",
|
||
|
"lint",
|
||
|
"test",
|
||
|
"e2e"
|
||
|
],
|
||
|
"accessToken": "MjRlZTEyMmItZThlMS00MjBlLWI2MjctZDIxMzg2ZDJmOTkyfHJlYWQtd3JpdGU="
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"targetDefaults": {
|
||
|
"build": {
|
||
|
"dependsOn": [
|
||
|
"^build"
|
||
|
],
|
||
|
"inputs": [
|
||
|
"production",
|
||
|
"^production"
|
||
|
]
|
||
|
},
|
||
|
"e2e": {
|
||
|
"inputs": [
|
||
|
"default",
|
||
|
"^production"
|
||
|
]
|
||
|
},
|
||
|
"lint": {
|
||
|
"inputs": [
|
||
|
"default",
|
||
|
"{workspaceRoot}/.eslintrc.json",
|
||
|
"{workspaceRoot}/.eslintignore"
|
||
|
]
|
||
|
},
|
||
|
"test": {
|
||
|
"inputs": [
|
||
|
"default",
|
||
|
"^production",
|
||
|
"{workspaceRoot}/jest.preset.js"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"namedInputs": {
|
||
|
"default": [
|
||
|
"{projectRoot}/**/*",
|
||
|
"sharedGlobals"
|
||
|
],
|
||
|
"production": [
|
||
|
"default",
|
||
|
"!{projectRoot}/.eslintrc.json",
|
||
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
||
|
"!{projectRoot}/tsconfig.spec.json",
|
||
|
"!{projectRoot}/jest.config.[jt]s"
|
||
|
],
|
||
|
"sharedGlobals": []
|
||
|
},
|
||
|
"generators": {
|
||
|
"@nx/react": {
|
||
|
"application": {
|
||
|
"style": "scss",
|
||
|
"linter": "eslint",
|
||
|
"bundler": "webpack",
|
||
|
"babel": true
|
||
|
},
|
||
|
"component": {
|
||
|
"style": "scss"
|
||
|
},
|
||
|
"library": {
|
||
|
"style": "scss",
|
||
|
"linter": "eslint"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|