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