UNPKG

@pixi/react

Version:

Write PixiJS applications using React declarative style.

126 lines (125 loc) 3.35 kB
{ "name": "@pixi/react", "version": "8.0.2", "description": "Write PixiJS applications using React declarative style.", "keywords": [ "react", "pixi" ], "homepage": "https://github.com/pixijs/pixi-react#readme", "bugs": { "url": "https://github.com/pixijs/pixi-react/issues" }, "repository": { "type": "git", "url": "git+https://github.com/pixijs/pixi-react.git" }, "license": "MIT", "exports": { ".": { "import": { "types": "./types/index.d.ts", "default": "./lib/index.mjs" }, "require": { "types": "./types/index.d.ts", "default": "./lib/index.js" } } }, "main": "lib/index.js", "module": "lib/index.mjs", "types": "types/index.d.ts", "files": [ "lib", "dist", "types" ], "workspaces": [ "docs" ], "scripts": { "build": "rimraf dist lib types && rollup -c && tsc", "build:docs": "npm run --workspace docs build", "deploy": "npm run deploy --workspace docs", "start:docs": "npm run --workspace docs start", "clean": "xs clean", "docs": "xs docs", "lint": "xs lint", "lint:fix": "xs lint --fix", "prepare": "husky install", "prerelease": "npm run test:lint && npm run build", "release": "xs bump,publish,git-push", "test": "tsc --project tsconfig.test.json && vitest run", "test:e2e": "tsc --project tsconfig.test.json && vitest run e2e", "test:unit": "tsc --project tsconfig.test.json && vitest run unit", "test:lint": "xs lint", "test:watch": "vitest", "test:types": "tsc --noEmit --emitDeclarationOnly false" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,js,mjs}": [ "eslint --cache --fix --max-warnings 0" ] }, "dependencies": { "its-fine": "^2.0.0", "react-reconciler": "0.31.0" }, "devDependencies": { "@pixi/extension-scripts": "^4.0.0", "@rollup/plugin-commonjs": "^25.0.8", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/react": "^19.0.0", "@types/react-reconciler": "^0.28.9", "@vitejs/plugin-react": "^4.3.1", "@vitest/browser": "^2.0.4", "eslint-plugin-react-hooks": "^5.2.0", "husky": "^8.0.0", "jsdom": "^25.0.0", "pixi.js": "8.2.6", "playwright": "^1.45.3", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^4.18.0", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-inject-process-env": "^1.3.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "^5.4.5", "vitest": "^2.0.0" }, "peerDependencies": { "pixi.js": "^8.2.6", "react": ">=19.0.0" }, "overrides": { "rollup": "^4.18.0" }, "publishConfig": { "access": "public" }, "extensionConfig": { "lint": [ "test", "src", "docs" ], "environments": [ "node" ], "docsName": "PixiJS React", "docsTitle": "PixiJS React API Documentation", "docsDescription": "Documentation for PixiJS React library", "docsKeyword": "docs, documentation, pixi, pixijs, react, html5, javascript, jsdoc" } }