60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "react-helpers",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/react-helpers/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/rollup:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
"outputPath": "dist/libs/react-helpers",
|
|
"tsConfig": "libs/react-helpers/tsconfig.lib.json",
|
|
"project": "libs/react-helpers/package.json",
|
|
"entryFile": "libs/react-helpers/src/index.ts",
|
|
"external": ["react/jsx-runtime"],
|
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"format": ["esm", "cjs"],
|
|
"assets": [
|
|
{
|
|
"glob": "libs/react-helpers/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/react-helpers/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/react-helpers"],
|
|
"options": {
|
|
"jestConfig": "libs/react-helpers/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/react-helpers/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|