Files
imphnen-frontend-service/nx.json
T

74 lines
1.9 KiB
JSON
Raw Normal View History

2025-03-13 00:50:45 +07:00
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "master",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.mjs",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
2025-03-16 00:33:48 +07:00
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
"!{projectRoot}/.storybook/**/*",
"!{projectRoot}/tsconfig.storybook.json"
2025-03-13 00:50:45 +07:00
],
"sharedGlobals": []
},
"plugins": [
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
},
{
"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"
}
2025-03-16 00:33:48 +07:00
},
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "storybook",
"buildStorybookTargetName": "build-storybook",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
2025-03-13 00:50:45 +07:00
}
],
"generators": {
"@nx/react": {
"application": {
"babel": true,
"style": "css",
"linter": "eslint",
"bundler": "vite"
},
"component": {
"style": "css"
},
"library": {
"style": "css",
2025-03-13 02:03:13 +07:00
"linter": "eslint",
"unitTestRunner": "vitest"
2025-03-13 00:50:45 +07:00
}
}
2025-03-13 02:03:13 +07:00
},
"release": {
"version": {
"preVersionCommand": "npx nx run-many -t build"
}
2025-03-13 00:50:45 +07:00
}
}