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