mirror of
https://github.com/zhigang1992/react-three-fiber.git
synced 2026-01-12 17:43:13 +08:00
135 lines
4.3 KiB
JSON
135 lines
4.3 KiB
JSON
{
|
|
"name": "react-three-fiber",
|
|
"private": true,
|
|
"version": "5.0.0-alpha.0",
|
|
"description": "A React renderer for Three.js (web and react-native)",
|
|
"keywords": [
|
|
"react",
|
|
"renderer",
|
|
"fiber",
|
|
"three",
|
|
"threejs"
|
|
],
|
|
"author": "Paul Henschel",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/drcmda/react-three-fiber/issues"
|
|
},
|
|
"homepage": "https://github.com/drcmda/react-three-fiber#readme",
|
|
"main": "web.cjs.js",
|
|
"module": "web.js",
|
|
"react-native": "native.js",
|
|
"types": "targets/web.d.ts",
|
|
"files": [
|
|
"**"
|
|
],
|
|
"sideEffects": false,
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/drcmda/react-three-fiber.git"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rimraf dist && npm run typegen",
|
|
"build": "rollup -c && yarn copy",
|
|
"prepare": "npm run build",
|
|
"eslint": "eslint --fix {src,examples/src}/**/*.{js,ts,jsx,tsx}",
|
|
"test": "jest",
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false --strict --jsx react",
|
|
"typegen": "tsc && mv dist/src/* dist && rm -rf dist/src || true",
|
|
"typegen:components": "npx ts-node src/components/generateExports.ts",
|
|
"copy": "copyfiles package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\"",
|
|
"pack-dist": "cd dist && yarn pack && mv *.tgz .."
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.10.5",
|
|
"@juggle/resize-observer": "^3.2.0",
|
|
"react-merge-refs": "^1.0.0",
|
|
"react-promise-suspense": "^0.3.3",
|
|
"react-reconciler": "0.25.1",
|
|
"react-use-measure": "^2.0.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"scheduler": "0.19.1",
|
|
"tiny-emitter": "^2.1.0",
|
|
"utility-types": "^3.10.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.13",
|
|
"react-dom": ">=16.13",
|
|
"three": ">=0.118"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
|
|
"@babel/core": "7.10.5",
|
|
"@babel/helper-call-delegate": "^7.10.4",
|
|
"@babel/plugin-transform-modules-commonjs": "7.10.4",
|
|
"@babel/plugin-transform-parameters": "7.10.5",
|
|
"@babel/plugin-transform-runtime": "7.10.5",
|
|
"@babel/plugin-transform-template-literals": "7.10.5",
|
|
"@babel/preset-env": "7.10.4",
|
|
"@babel/preset-react": "7.10.4",
|
|
"@babel/preset-typescript": "^7.10.4",
|
|
"@rollup/plugin-commonjs": "^14.0.0",
|
|
"@rollup/plugin-inject": "^4.0.2",
|
|
"@rollup/plugin-strip": "^2.0.0",
|
|
"@types/jest": "^26.0.7",
|
|
"@types/lodash-es": "^4.17.3",
|
|
"@types/react": "^16.9.43",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-native": "^0.63.2",
|
|
"@types/react-reconciler": "^0.18.0",
|
|
"@types/react-test-renderer": "^16.9.2",
|
|
"@types/scheduler": "^0.16.1",
|
|
"@typescript-eslint/eslint-plugin": "^3.7.0",
|
|
"@typescript-eslint/parser": "^3.7.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
"copyfiles": "^2.3.0",
|
|
"cypress": "^4.11.0",
|
|
"eslint": "^7.5.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"eslint-plugin-react": "^7.20.3",
|
|
"eslint-plugin-react-hooks": "^4.0.8",
|
|
"eslint-plugin-jest": "^23.17.1",
|
|
"expo-gl": "^8.3.1",
|
|
"expo-three": "^5.5.1",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.1.0",
|
|
"json": "^9.0.6",
|
|
"lint-staged": "^10.2.11",
|
|
"prettier": "^2.0.5",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-native": "^0.63.2",
|
|
"react-test-renderer": "^16.13.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.23.0",
|
|
"rollup-plugin-babel": "^4.4.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-json": "^4.0.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-size-snapshot": "^0.12.0",
|
|
"three": "^0.118.0",
|
|
"ts-jest": "^26.1.3",
|
|
"typescript": "^3.9.7",
|
|
"wait-on": "^5.1.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/react-three-fiber"
|
|
}
|
|
}
|