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