mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"],
|
|
"cache": true
|
|
},
|
|
"build-storybook": {
|
|
"inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"]
|
|
},
|
|
"lint": {
|
|
"cache": true
|
|
},
|
|
"test": {
|
|
"cache": true
|
|
},
|
|
"stylelint": {
|
|
"cache": true
|
|
}
|
|
},
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"options": {
|
|
"runtimeCacheInputs": ["node -v"]
|
|
}
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/angular.json",
|
|
"{workspaceRoot}/demo-shell/src/index.html",
|
|
"{workspaceRoot}/e2e/protractor.excludes.json",
|
|
"{workspaceRoot}/e2e/protractor.conf.js"
|
|
],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/.storybook/**/*",
|
|
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
"!{projectRoot}/**/*.spec.[jt]s",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/karma.conf.js",
|
|
"!{projectRoot}/tsconfig.storybook.json"
|
|
]
|
|
},
|
|
"cacheDirectory": "nxcache",
|
|
"defaultBase": "develop"
|
|
}
|