This repository has been archived on 2025-07-20. You can view files and clone it, but cannot push or open issues or pull requests.
fediswald/nx.json

72 lines
1.7 KiB
JSON
Raw Normal View History

2025-03-31 09:10:27 +03:00
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/src/test-setup.[jt]s"
],
"sharedGlobals": []
},
"plugins": [
{
"plugin": "@nx/js/typescript",
"options": {
"typecheck": {
"targetName": "typecheck"
},
"build": {
"targetName": "build",
"configName": "tsconfig.lib.json",
"buildDepsName": "build-deps",
"watchDepsName": "watch-deps"
}
}
},
{
"plugin": "@nx/react/router-plugin",
"options": {
"buildTargetName": "build",
"devTargetName": "dev",
"startTargetName": "start",
"watchDepsTargetName": "watch-deps",
"buildDepsTargetName": "build-deps",
"typecheckTargetName": "typecheck"
}
},
{
"plugin": "@nx/vite/plugin",
"options": {
"buildTargetName": "build",
"testTargetName": "test",
"serveTargetName": "serve",
"devTargetName": "dev",
"previewTargetName": "preview",
"serveStaticTargetName": "serve-static",
"typecheckTargetName": "typecheck",
"buildDepsTargetName": "build-deps",
"watchDepsTargetName": "watch-deps"
}
}
],
"generators": {
"@nx/react": {
"application": {
"babel": true,
"style": "tailwind",
"linter": "none",
"bundler": "vite"
},
"component": {
"style": "tailwind"
},
"library": {
"style": "tailwind",
"linter": "none"
}
}
}
}