b3014bb98a
Co-authored-by: Edd <edd@vega.xyz>
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "positions",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/positions/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/positions/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/positions"],
|
|
"options": {
|
|
"jestConfig": "libs/positions/jest.config.ts"
|
|
}
|
|
},
|
|
"storybook": {
|
|
"executor": "@nx/storybook:storybook",
|
|
"options": {
|
|
"port": 4400,
|
|
"configDir": "libs/positions/.storybook"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"executor": "@nx/storybook:build",
|
|
"outputs": ["{options.outputDir}"],
|
|
"options": {
|
|
"configDir": "libs/positions/.storybook",
|
|
"outputDir": "dist/storybook/positions"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/positions/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|