UNPKG

react-babylonjs

Version:
103 lines (102 loc) 3.14 kB
{ "name": "react-babylonjs", "version": "3.2.3-beta.4", "description": "React for Babylon.js", "homepage": "https://brianzinn.github.io/react-babylonjs/", "keywords": [ "3d", "webgl", "react", "babylon", "babylon.js", "renderer", "react-reconciler" ], "main": "dist/index.js", "module": "dist/index.js", "esnext": "dist/index.js", "typings": "dist/index.d.ts", "type": "module", "files": [ "dist" ], "author": "Brian Zinn <github@wakeskate.com>", "repository": { "type": "git", "url": "https://github.com/brianzinn/react-babylonjs/" }, "license": "MIT", "engines": { "node": ">=14.0.0" }, "scripts": { "lint": "concurrently 'yarn:lint:check:*'", "lint:check:eslint": "eslint src/**/*.{ts,tsx}", "lint:check:prettier": "prettier -c \"**/*.{ts,js,tsx,jsx,json,md,mdx}\"", "lint:fix": "concurrently 'yarn:lint:fix:*'", "lint:fix:eslint": "eslint --fix . --ext .ts", "lint:fix:prettier": "prettier -w \"**/*.{ts,js,tsx,jsx,json,md,mdx}\"", "compile": "tsc", "prebuild": "rimraf dist", "build": "cross-env NODE_ENV=production rollup -c", "build:dev": "rollup -c", "start": "tsc-watch --onSuccess \"rollup -c\"", "generate-code": "cross-env NODE_OPTIONS=--max_old_space_size=4096 node --experimental-specifier-resolution=node --loader ts-node/esm tools/generate-code.ts", "unit-test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" mocha", "test": "npm run unit-test", "test:coverage": "c8 --reporter=lcov --reporter=text-summary npm run test" }, "devDependencies": { "@babylonjs/core": "^7.40.2", "@babylonjs/gui": "^7.40.2", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/lodash.camelcase": "^4.3.6", "@types/mocha": "^9.1.0", "@types/node": "^22.13.14", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/react-reconciler": "^0.31.0", "@types/sinon": "^9.0.10", "@typescript-eslint/eslint-plugin": "^4.29.1", "@typescript-eslint/parser": "^4.29.1", "c8": "^7.11.0", "concurrently": "^7.0.0", "cross-env": "^7.0.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-react-hooks": "^4.4.0", "github-release-notes": "0.17.2", "lodash.camelcase": "^4.3.0", "mocha": "^9.2.2", "prettier": "^2.6.1", "prettier-plugin-organize-imports": "^2.3.4", "react": "^19", "react-dom": "^19", "rimraf": "^6.0.1", "rollup": "^4.37.0", "sinon": "^9.2.4", "ts-morph": "^14.0.0", "ts-node": "^10.7.0", "tsc-watch": "4.1.0", "tsconfig-paths": "^3.9.0", "tslib": "^2.4.0", "typescript": "^5.8.2" }, "peerDependencies": { "@babylonjs/core": "5.x || 6.x || 7.x || 8.x", "@babylonjs/gui": "5.x || 6.x || 7.x || 8.x", "react": ">=18" }, "peerDependenciesMeta": { "react-dom": { "optional": true } }, "dependencies": { "@react.babylon/reconciler": "*", "scheduler": "^0.26.0" } }