32 lines
635 B
JSON
32 lines
635 B
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/*.spec.ts",
|
|
"!{projectRoot}/**/*.test.ts"
|
|
],
|
|
"sharedGlobals": []
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "@nx/js/typescript",
|
|
"options": {
|
|
"typecheck": {
|
|
"targetName": "typecheck"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"]
|
|
},
|
|
"test": {
|
|
"inputs": ["default", "^production"]
|
|
}
|
|
}
|
|
}
|