react18-tools/react-mouse-trail

View on GitHub
lib/package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-mouse-trails",
  "author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
  "private": false,
  "version": "0.0.4",
  "description": "A lightweight WebGL-based React component for creating a mouse trail effect.",
  "license": "MPL-2.0",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "repository": "github:react18-tools/react-webgl-trails",
  "bugs": "https://github.com/react18-tools/react-webgl-trails/issues",
  "homepage": "https://github.com/react18-tools/react-webgl-trails/#readme",
  "sideEffects": false,
  "files": [
    "dist/**"
  ],
  "scripts": {
    "build": "tsup && tsc -p tsconfig-build.json && touch dist/index.css",
    "clean": "rm -rf dist",
    "dev": "tsup --watch && tsc -p tsconfig-build.json -w",
    "typecheck": "tsc --noEmit",
    "lint": "eslint src/",
    "test": "vitest run --coverage"
  },
  "devDependencies": {
    "@repo/eslint-config": "workspace:*",
    "@repo/typescript-config": "workspace:*",
    "@testing-library/react": "^16.0.1",
    "@types/node": "^22.5.5",
    "@types/react": "^18.3.5",
    "@types/react-dom": "^18.3.0",
    "@vitejs/plugin-react": "^4.3.1",
    "@vitest/coverage-v8": "^2.1.1",
    "esbuild-plugin-rdi": "^0.0.0",
    "esbuild-plugin-react18": "0.2.5",
    "esbuild-plugin-react18-css": "^0.0.4",
    "esbuild-plugin-webgl": "^0.0.3",
    "jsdom": "^25.0.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "tsup": "^8.2.4",
    "typescript": "^5.6.2",
    "vite-tsconfig-paths": "^5.0.1",
    "vitest": "^2.1.1",
    "vitest-webgl-canvas-mock": "^1.1.0"
  },
  "peerDependencies": {
    "@types/react": "16.8 - 19",
    "react": "16.8 - 19"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/react18-tools"
    },
    {
      "type": "github",
      "url": "https://github.com/sponsors/mayank1513"
    }
  ],
  "keywords": [
    "react",
    "webgl",
    "mouse trail",
    "react trail",
    "effect",
    "animation",
    "component",
    "graphics",
    "interactive",
    "visual",
    "next.js",
    "customizable",
    "frontend development",
    "React 18",
    "React 19",
    "Next.js",
    "Next.js 14",
    "Next.js 15",
    "React server components",
    "UI components",
    "web development",
    "modern",
    "seamless integration"
  ]
}