AFFiNE/libs/components/board-draw/project.json

46 lines
1.6 KiB
JSON
Raw Normal View History

{
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/components/board-draw/src",
"projectType": "library",
"tags": ["components"],
"targets": {
"build": {
"executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/components/board-draw",
"tsConfig": "libs/components/board-draw/tsconfig.lib.json",
"project": "libs/components/board-draw/package.json",
"entryFile": "libs/components/board-draw/src/index.ts",
"external": ["react/jsx-runtime"],
"rollupConfig": "libs/rollup.config.cjs",
"compiler": "babel",
"assets": [
{
"glob": "libs/components/board-draw/README.md",
"input": ".",
"output": "."
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/components/board-draw/**/*.{ts,tsx,js,jsx}"
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/components/board-draw"],
"options": {
"jestConfig": "libs/components/board-draw/jest.config.ts",
"passWithNoTests": true
}
}
}
}