nx/graph/client/project.json

115 lines
2.9 KiB
JSON

{
"name": "graph-client",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "graph/client/src",
"projectType": "application",
"targets": {
"generate-dev-environment-js": {
"executor": "nx:run-commands",
"options": {
"commands": [
"ts-node -P ./scripts/tsconfig.scripts.json ./scripts/generate-graph-environment.ts"
]
}
},
"generate-graph-base": {
"executor": "nx:run-commands",
"options": {
"commands": [
"ts-node -P ./scripts/tsconfig.scripts.json ./scripts/generate-graph.ts"
]
}
},
"generate-graph": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx nx run graph-client:generate-graph-base",
"npx nx run graph-client:generate-dev-environment-js"
],
"parallel": false
}
},
"build-client": {
"configurations": {
"dev": {},
"nx-console": {},
"release": {},
"watch": {},
"release-static": {},
"dev-e2e": {}
},
"defaultConfiguration": "release"
},
"serve-base": {
"configurations": {
"dev": {},
"nx-console": {},
"release": {},
"watch": {},
"release-static": {},
"dev-e2e": {}
},
"defaultConfiguration": "dev"
},
"serve": {
"executor": "nx:run-commands",
"configurations": {
"dev": {
"commands": [
"npx nx run graph-client:generate-dev-environment-js",
"npx nx serve-base graph-client"
],
"parallel": false
},
"dev-e2e": {
"commands": ["npx nx serve-base graph-client --configuration dev-e2e"]
},
"release": {
"commands": ["npx nx serve-base graph-client --configuration release"]
},
"release-static": {
"commands": [
"npx nx serve-base graph-client --configuration release-static"
]
},
"watch": {
"commands": ["npx nx serve-base graph-client --configuration watch"]
},
"nx-console": {
"commands": [
"npx nx serve-base graph-client --configuration nx-console"
]
}
},
"defaultConfiguration": "dev"
},
"storybook": {
"executor": "@nx/storybook:storybook",
"options": {
"port": 4400,
"configDir": "graph/client/.storybook"
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"build-storybook": {
"executor": "@nx/storybook:build",
"outputs": ["{options.outputDir}"],
"options": {
"configDir": "graph/client/.storybook",
"outputDir": "dist/storybook/graph-client"
},
"configurations": {
"ci": {
"quiet": true
}
}
}
},
"tags": []
}