83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/ui-toolkit/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/web:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
"outputPath": "dist/libs/ui-toolkit",
|
|
"tsConfig": "libs/ui-toolkit/tsconfig.lib.json",
|
|
"project": "libs/ui-toolkit/package.json",
|
|
"entryFile": "libs/ui-toolkit/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/ui-toolkit/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/ui-toolkit/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/ui-toolkit"],
|
|
"options": {
|
|
"jestConfig": "libs/ui-toolkit/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"storybook": {
|
|
"executor": "@nrwl/storybook:storybook",
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"port": 4400,
|
|
"config": {
|
|
"configFolder": "libs/ui-toolkit/.storybook"
|
|
}
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"executor": "@nrwl/storybook:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"outputPath": "dist/storybook/ui-toolkit",
|
|
"config": {
|
|
"configFolder": "libs/ui-toolkit/.storybook"
|
|
}
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/ui-toolkit/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|