mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 07:58:05 +03:00
46 lines
1.6 KiB
JSON
46 lines
1.6 KiB
JSON
|
{
|
||
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "libs/components/board-shapes/src",
|
||
|
"projectType": "library",
|
||
|
"tags": ["components"],
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nrwl/web:rollup",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"options": {
|
||
|
"outputPath": "dist/libs/components/board-shapes",
|
||
|
"tsConfig": "libs/components/board-shapes/tsconfig.lib.json",
|
||
|
"project": "libs/components/board-shapes/package.json",
|
||
|
"entryFile": "libs/components/board-shapes/src/index.ts",
|
||
|
"external": ["react/jsx-runtime"],
|
||
|
"rollupConfig": "libs/rollup.config.cjs",
|
||
|
"compiler": "babel",
|
||
|
"assets": [
|
||
|
{
|
||
|
"glob": "libs/components/board-shapes/README.md",
|
||
|
"input": ".",
|
||
|
"output": "."
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nrwl/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": [
|
||
|
"libs/components/board-shapes/**/*.{ts,tsx,js,jsx}"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nrwl/jest:jest",
|
||
|
"outputs": ["coverage/libs/components/board-shapes"],
|
||
|
"options": {
|
||
|
"jestConfig": "libs/components/board-shapes/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|