UNPKG

@symfony/ux-react

Version:

Integration of React in Symfony

65 lines 1.77 kB
{ "name": "@symfony/ux-react", "description": "Integration of React in Symfony", "license": "MIT", "version": "2.31.0", "keywords": [ "symfony-ux" ], "homepage": "https://ux.symfony.com/react", "repository": "https://github.com/symfony/ux-react", "type": "module", "files": [ "dist" ], "main": "dist/register_controller.js", "types": "dist/register_controller.d.ts", "symfony": { "controllers": { "react": { "main": "dist/render_controller.js", "webpackMode": "eager", "fetch": "eager", "enabled": true } }, "importmap": { "@hotwired/stimulus": "^3.0.0", "react": "^18.0", "react-dom/client": "^18.0", "@symfony/ux-react": "path:%PACKAGE%/dist/loader.js" } }, "peerDependencies": { "@hotwired/stimulus": "^3.0.0", "react": "^18.0", "react-dom": "^18.0" }, "devDependencies": { "@hotwired/stimulus": "^3.0.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/user-event": "^14.6.1", "@types/react": "^18.0", "@types/react-dom": "^18.0", "@types/webpack-env": "^1.16", "@vitejs/plugin-react": "^4.1.0", "jsdom": "^26.1.0", "react": "^18.0", "react-dom": "^18.0", "tslib": "^2.8.1", "tsx": "^4.20.3", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "scripts": { "build": "tsx ../../../bin/build_package.ts .", "watch": "tsx ../../../bin/build_package.ts . --watch", "test": "pnpm run test:unit && pnpm run test:browser", "test:unit": "../../../bin/unit_test_package.sh .", "test:browser": "playwright test", "test:browser:ui": "playwright test --ui", "check": "biome check", "ci": "biome ci" } }