leva-r3f-stats
Version:
A small plugin to display React Three Fiber stats in Leva
99 lines (98 loc) • 2.75 kB
JSON
{
"name": "leva-r3f-stats",
"version": "1.5.1",
"type": "module",
"description": "A small plugin to display React Three Fiber stats in Leva",
"author": "Jeffrey Castellano",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/JeffreyCastellano/leva-r3f-stats"
},
"keywords": [
"three",
"stats",
"r3f",
"monitoring",
"react-three-fiber",
"r3f-stats",
"leva-stats",
"leva-r3f-stats",
"leva"
],
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "NODE_ENV=production rollup -c",
"build:analyze": "NODE_ENV=production ANALYZE=true rollup -c",
"dev": "rollup -c -w",
"test": "jest --passWithNoTests",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"lint": "eslint src --ext ts,tsx",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run test && npm run build",
"size": "npm run build && size-limit",
"size:why": "npm run build && size-limit --why"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "150 KB"
},
{
"path": "dist/index.esm.js",
"limit": "150 KB"
}
],
"peerDependencies": {
"@react-three/fiber": ">=8.0.0",
"leva": ">=0.9.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"three": ">=0.140.0"
},
"devDependencies": {
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
"@babel/preset-react": "^7.22.0",
"@babel/preset-typescript": "^7.22.0",
"@react-three/drei": "^9.80.0",
"@react-three/fiber": "^8.14.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-typescript": "^11.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@size-limit/preset-small-lib": "^11.0.0",
"@storybook/addon-essentials": "^7.5.0",
"@storybook/addon-interactions": "^7.5.0",
"@storybook/addon-links": "^7.5.0",
"@storybook/blocks": "^7.5.0",
"@storybook/react": "^7.5.0",
"@storybook/react-vite": "^7.5.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/three": "^0.155.0",
"jest": "^29.6.0",
"leva": "^0.10.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.26.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-visualizer": "^5.9.2",
"size-limit": "^11.0.0",
"storybook": "^7.5.0",
"three": "^0.155.0",
"tslib": "^2.6.0",
"typescript": "^5.1.0",
"vite": "^4.5.0"
}
}