82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"name": "storybook",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/storybook",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"test": {},
|
|
"build-base": {
|
|
"executor": "@nrwl/js:tsc",
|
|
"options": {
|
|
"assets": [
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/project-files/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/files/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/root-files/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/project-files-ts/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/root-files-ts/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/root-files-nested/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/root-files-nested-ts/.storybook/**",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/*.js",
|
|
"ignore": ["**/jest.config.js"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages/storybook",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": ["{workspaceRoot}/build/packages/storybook"],
|
|
"options": {
|
|
"command": "node ./scripts/copy-readme.js storybook"
|
|
}
|
|
},
|
|
"lint": {}
|
|
}
|
|
}
|