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