Luccas Mateus de Medeiros Gomes fda6c4b827 [monorepo][lg] - start of monorepo
2023-04-10 22:22:34 -03:00

51 lines
1.4 KiB
JSON

{
"name": "portaljs-components",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/portaljs-components/src",
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/portaljs-components/**/*.{ts,tsx,js,jsx}"]
}
},
"build": {
"executor": "@nrwl/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/portaljs-components",
"tsConfig": "libs/portaljs-components/tsconfig.lib.json",
"project": "libs/portaljs-components/package.json",
"entryFile": "libs/portaljs-components/src/index.ts",
"external": ["react/jsx-runtime"],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "swc",
"assets": [
{
"glob": "libs/portaljs-components/README.md",
"input": ".",
"output": "."
}
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/portaljs-components/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
}
}
}