mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 22:11:55 +03:00
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/datasource/commands/src",
|
|
"projectType": "library",
|
|
"tags": ["datasource:commands"],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/datasource/commands",
|
|
"main": "libs/datasource/commands/src/index.ts",
|
|
"tsConfig": "libs/datasource/commands/tsconfig.lib.json",
|
|
"assets": ["libs/datasource/commands/*.md"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/datasource/commands/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/datasource/commands"],
|
|
"options": {
|
|
"jestConfig": "libs/datasource/commands/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
}
|