theatre/packages/r3f/package.json
Aria Minaei 1280de02d0 Fix React's DCE error in r3f
This fixes the react error that says "React is running in production mode, but dead code elimination has not been applied."
2023-08-01 17:47:17 +02:00

79 lines
2.1 KiB
JSON

{
"name": "@theatre/r3f",
"version": "0.6.2",
"license": "Apache-2.0",
"authors": [
{
"name": "Andrew Prifer",
"email": "andrew.prifer@gmail.com",
"url": "https://github.com/AndrewPrifer"
},
{
"name": "Aria Minaei",
"email": "aria@theatrejs.com",
"url": "https://github.com/AriaMinaei"
}
],
"repository": {
"type": "git",
"url": "https://github.com/AriaMinaei/theatre",
"directory": "packages/r3f"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"sideEffects": false,
"files": [
"dist/**/*"
],
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./dist/extension": {
"import": "./dist/extension/index.esm.js",
"require": "./dist/extension/index.js",
"types": "./dist/extension/index.d.ts"
}
},
"scripts": {
"prepack": "yarn run build",
"typecheck": "yarn run build",
"build": "run-s build:ts build:js",
"build:js": "node -r esbuild-register devEnv/bundle.ts",
"build:ts": "tsc --build ./tsconfig.json",
"prepublish": "yarn run build",
"clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo"
},
"devDependencies": {
"@react-three/drei": "^7.3.1",
"@theatre/react": "workspace:*",
"@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.6.2",
"@types/react": "^17.0.9",
"@types/styled-components": "^5.1.9",
"esbuild": "^0.18.17",
"esbuild-register": "^3.4.2",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"polished": "^4.1.3",
"react-icons": "^4.2.0",
"react-merge-refs": "^1.1.0",
"react-shadow": "^19.0.3",
"react-use-measure": "^2.0.4",
"reakit": "^1.3.8",
"styled-components": "^5.3.5",
"typescript": "^4.4.2",
"zustand": "^3.5.1"
},
"peerDependencies": {
"@react-three/fiber": ">=7.0.6",
"@theatre/core": "*",
"@theatre/studio": "*",
"react": ">=17.0.2",
"react-dom": ">=17.0.2",
"three": ">=0.131.3"
}
}