react-three-nurbs
Version:
A React component library for rendering NURBS (Non-Uniform Rational B-Spline) surfaces in Three.js. Built with React Three Fiber, this library provides an easy way to create and visualize complex curved surfaces in your 3D applications.
85 lines (84 loc) • 2.15 kB
JSON
{
"name": "react-three-nurbs",
"private": false,
"version": "0.2.0",
"type": "module",
"files": [
"dist"
],
"author": "Tommaso Turchi",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"preview": "vite preview",
"storybook": "npx storybook dev -p 6006",
"build-storybook": "npx storybook build",
"prepublishOnly": "npm run build",
"preversion": "npm run lint"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tommasoturchi/react-three-nurbs.git"
},
"keywords": [
"react",
"three.js",
"react-three-fiber",
"nurbs",
"curves",
"surfaces",
"3d"
],
"bugs": {
"url": "https://github.com/tommasoturchi/react-three-nurbs/issues"
},
"homepage": "https://react-three-nurbs.trx.li/",
"dependencies": {
"@react-three/drei": "^9.99.0",
"@react-three/fiber": "^8.15.16",
"earcut": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"three": "^0.161.0",
"verb-nurbs": "^3.0.3"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.6.12",
"@storybook/addon-interactions": "^8.6.12",
"@storybook/addon-links": "^8.6.12",
"@storybook/blocks": "^8.6.12",
"@storybook/builder-vite": "^8.6.12",
"@storybook/react": "^8.6.12",
"@storybook/react-vite": "^8.6.12",
"@types/node": "^22.15.17",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/three": "^0.161.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.2.2",
"vite": "^5.1.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}