44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
|
{
|
||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||
|
"sourceRoot": "libs/data-provider/src",
|
||
|
"projectType": "library",
|
||
|
"tags": [],
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nrwl/web:rollup",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"options": {
|
||
|
"outputPath": "dist/libs/data-provider",
|
||
|
"tsConfig": "libs/data-provider/tsconfig.lib.json",
|
||
|
"project": "libs/data-provider/package.json",
|
||
|
"entryFile": "libs/data-provider/src/index.ts",
|
||
|
"external": ["react/jsx-runtime"],
|
||
|
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
|
||
|
"compiler": "babel",
|
||
|
"assets": [
|
||
|
{
|
||
|
"glob": "libs/data-provider/README.md",
|
||
|
"input": ".",
|
||
|
"output": "."
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"lint": {
|
||
|
"executor": "@nrwl/linter:eslint",
|
||
|
"outputs": ["{options.outputFile}"],
|
||
|
"options": {
|
||
|
"lintFilePatterns": ["libs/data-provider/**/*.{ts,tsx,js,jsx}"]
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"executor": "@nrwl/jest:jest",
|
||
|
"outputs": ["coverage/libs/data-provider"],
|
||
|
"options": {
|
||
|
"jestConfig": "libs/data-provider/jest.config.ts",
|
||
|
"passWithNoTests": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|