UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

63 lines (62 loc) 2.21 kB
{ "name": "react", "$schema": "../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "packages/react", "projectType": "library", "targets": { "build": { "command": "node ./scripts/copy-readme.js react", "outputs": ["{workspaceRoot}/dist/packages/react/README.md"] }, "legacy-post-build": { "executor": "@nx/workspace-plugin:legacy-post-build", "options": { "tsConfig": "./tsconfig.lib.json", "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": "/" } ] } } } }