66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"name": "tooltip",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/tooltip/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/tooltip",
|
|
"main": "libs/tooltip/src/index.ts",
|
|
"tsConfig": "libs/tooltip/tsconfig.lib.json",
|
|
"assets": ["libs/tooltip/*.md"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/tooltip/**/*.ts", "libs/tooltip/package.json"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/vite:test",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/tooltip"],
|
|
"options": {
|
|
"passWithNoTests": true,
|
|
"reportsDirectory": "../../coverage/libs/tooltip"
|
|
}
|
|
},
|
|
"storybook": {
|
|
"executor": "@nx/storybook:storybook",
|
|
"options": {
|
|
"port": 4400,
|
|
"configDir": "libs/tooltip/.storybook"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"executor": "@nx/storybook:build",
|
|
"outputs": ["{options.outputDir}"],
|
|
"options": {
|
|
"outputDir": "dist/storybook/tooltip",
|
|
"configDir": "libs/tooltip/.storybook"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"test-storybook": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "test-storybook -c libs/tooltip/.storybook --url=http://localhost:4400"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|