AFFiNE/libs/components/common/project.json
2022-07-22 15:49:21 +08:00

57 lines
1.9 KiB
JSON

{
"sourceRoot": "libs/components/common/src",
"projectType": "library",
"tags": ["components:common"],
"targets": {
"build": {
"executor": "@nrwl/web:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/components/common",
"tsConfig": "libs/components/common/tsconfig.lib.json",
"project": "libs/components/common/package.json",
"entryFile": "libs/components/common/src/index.ts",
"external": ["react/jsx-runtime"],
"rollupConfig": "libs/rollup-ts-checker.config.cjs",
"compiler": "babel",
"assets": [
{
"glob": "libs/components/common/README.md",
"input": ".",
"output": "."
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/components/common/**/*.{ts,tsx,js,jsx}"
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/components/common"],
"options": {
"jestConfig": "libs/components/common/jest.config.js",
"passWithNoTests": true
}
},
"figmaRes": {
"executor": "./tools/executors/figmaRes:figmaRes",
"options": {
"assets": [
{
"fileId": "7pyx5gMz6CN0qSRADmScQ7",
"nodeId": "665%3A1735",
"folder": "./src/lib/Icon"
}
]
}
}
}
}