nx/packages/react/project.json

70 lines
1.7 KiB
JSON

{
"name": "react",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/react",
"projectType": "library",
"targets": {
"test": {},
"build-base": {
"executor": "@nx/js:tsc",
"options": {
"assets": [
{
"input": "packages/react",
"glob": "**/files/**",
"output": "/"
},
{
"input": "packages/react",
"glob": "**/files/**/.gitkeep",
"output": "/"
},
{
"input": "packages/react",
"glob": "**/files/**/.babelrc__tmpl__",
"output": "/"
},
{
"input": "packages/react",
"glob": "**/files/**/.browserslistrc__tmpl__",
"output": "/"
},
{
"input": "packages/react",
"glob": "**/*.json",
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
"output": "/"
},
{
"input": "packages/react",
"glob": "**/*.d.ts",
"output": "/"
},
{
"input": "packages/react",
"glob": "**/*.js",
"ignore": ["**/jest.config.js"],
"output": "/"
},
{
"input": "",
"glob": "LICENSE",
"output": "/"
}
]
}
},
"build": {
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/build/packages/react"],
"options": {
"commands": [
"node ./scripts/copy-readme.js react",
"node ./scripts/add-dependency-to-build.js react @nrwl/react"
]
}
},
"lint": {}
}
}