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