fluid-pointer-react
Version:
A dependency-free fluid simulation component with WebGL-based physics - supports both vanilla web components and React
96 lines (95 loc) • 2.31 kB
JSON
{
"name": "fluid-pointer-react",
"version": "1.0.10",
"description": "A dependency-free fluid simulation component with WebGL-based physics - supports both vanilla web components and React",
"type": "module",
"main": "./dist/fluid-pointer.umd.js",
"module": "./dist/fluid-pointer.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/fluid-pointer.es.js",
"require": "./dist/fluid-pointer.umd.js"
},
"./react": {
"types": "./dist/react-index.d.ts",
"import": "./dist/react/fluid-pointer-react.es.js",
"require": "./dist/react/fluid-pointer-react.umd.js"
},
"./css": "./dist/FluidPointer.css"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"dev": "vite --host",
"build": "npm run build:web && npm run build:react",
"build:web": "tsc && vite build",
"build:react": "tsc && vite build --mode react",
"build:lib": "npm run build",
"demo": "vite --config demo/vite.config.ts",
"demo:build": "vite build --config demo/vite.config.ts",
"preview": "vite preview",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"prepublishOnly": "npm run build"
},
"keywords": [
"web-component",
"react-component",
"fluid-simulation",
"webgl",
"vanilla",
"react",
"dependency-free",
"typescript",
"physics",
"animation",
"interactive"
],
"author": {
"name": "Florian",
"url": "https://github.com/Flow-Fly"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Flow-Fly/fluid-pointer.git"
},
"homepage": "https://github.com/Flow-Fly/fluid-pointer#readme",
"bugs": {
"url": "https://github.com/Flow-Fly/fluid-pointer/issues"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "~5.8.3",
"vite": "^5.4.10",
"vitest": "^3.2.4"
}
}