mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 22:11:55 +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/feature-flags/src",
|
||
|
"projectType": "library",
|
||
|
"tags": ["library:feature-flags"],
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nrwl/web:rollup",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"options": {
|
||
|
"outputPath": "dist/libs/datasource/feature-flags",
|
||
|
"tsConfig": "libs/datasource/feature-flags/tsconfig.lib.json",
|
||
|
"project": "libs/datasource/feature-flags/package.json",
|
||
|
"entryFile": "libs/datasource/feature-flags/src/index.ts",
|
||
|
"external": ["react/jsx-runtime"],
|
||
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
||
|
"compiler": "babel",
|
||
|
"assets": [
|
||
|
{
|
||
|
"glob": "libs/datasource/feature-flags/README.md",
|
||
|
"input": ".",
|
||
|
"output": "."
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nrwl/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": [
|
||
|
"libs/datasource/feature-flags/**/*.{ts,tsx,js,jsx}"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nrwl/jest:jest",
|
||
|
"outputs": ["coverage/libs/datasource/feature-flags"],
|
||
|
"options": {
|
||
|
"jestConfig": "libs/datasource/feature-flags/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|