UNPKG

react-three-fiber

Version:
118 lines (117 loc) 3.39 kB
{ "name": "react-three-fiber", "version": "3.0.2", "description": "React-fiber renderer for THREE.js", "main": "./dist/web.cjs.js", "module": "./dist/web.js", "react-native": "./dist/native.js", "types": "./types/src/targets/web/index.d.ts", "sideEffects": false, "scripts": { "prebuild": "rimraf dist && npm run typegen", "build": "rollup -c", "prepare": "npm run build", "eslint": "eslint ./src", "test": "echo \"Error: no test specified\" && exit 1", "typecheck": "tsc --noEmit --strict --jsx react src/*", "typegen": "tsc || true && prettier types/**/** --write" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "prettier": { "semi": false, "trailingComma": "es5", "singleQuote": true, "jsxBracketSameLine": true, "tabWidth": 2, "printWidth": 120 }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "prettier --write", "git add" ] }, "repository": { "type": "git", "url": "git+https://github.com/drcmda/react-three-fiber.git" }, "keywords": [ "react", "renderer", "fiber", "three", "threejs" ], "author": "Paul Henschel", "contributors": [ "Birkir Gudjonsson <birkir.gudjonsson@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/drcmda/react-three-fiber/issues" }, "homepage": "https://github.com/drcmda/react-three-fiber#readme", "dependencies": { "@babel/runtime": "^7.4.4", "@types/three": "^0.103.2", "react-promise-suspense": "^0.3.1", "react-reconciler": "0.20.4", "resize-observer-polyfill": "^1.5.1", "scheduler": "0.13.3", "tiny-emitter": "^2.1.0" }, "peerDependencies": { "react": ">=16.9", "react-dom": ">=16.9", "three": ">=0.108" }, "devDependencies": { "@babel/core": "7.4.4", "@babel/plugin-proposal-class-properties": "7.4.4", "@babel/plugin-proposal-do-expressions": "7.2.0", "@babel/plugin-proposal-object-rest-spread": "7.4.4", "@babel/plugin-transform-modules-commonjs": "7.4.4", "@babel/plugin-transform-parameters": "7.4.4", "@babel/plugin-transform-runtime": "7.4.4", "@babel/plugin-transform-template-literals": "7.4.4", "@babel/preset-env": "7.4.4", "@babel/preset-react": "7.0.0", "@babel/preset-typescript": "^7.3.3", "@types/lodash-es": "^4.17.3", "@types/react": "^16.9.1", "@types/react-native": "^0.60.11", "@types/react-reconciler": "^0.18.0", "@types/scheduler": "^0.12.1", "babel-eslint": "^10.0.1", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "cypress": "^3.2.0", "eslint": "^5.16.0", "eslint-config-prettier": "^4.2.0", "eslint-plugin-import": "^2.17.2", "eslint-plugin-react-hooks": "^1.6.0", "expo-gl": "^6.0.0", "expo-three": "^5.0.0", "husky": "^2.1.0", "lint-staged": "^8.1.5", "prettier": "^1.18.2", "react": "^16.8.6", "react-dom": "^16.8.6", "rimraf": "^3.0.0", "rollup": "^1.19.4", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^4.2.3", "rollup-plugin-size-snapshot": "^0.8.0", "typescript": "^3.5.3", "wait-on": "^3.2.0" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/react-three-fiber" } }