@phazr/custom-cursor
Version:
A lightweight and highly customizable React component for creating unique and interactive cursor experiences.
115 lines • 3.12 kB
JSON
{
"name": "@phazr/custom-cursor",
"version": "0.1.2",
"type": "module",
"description": "A lightweight and highly customizable React component for creating unique and interactive cursor experiences.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"style": "dist/cursor.css",
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"*.css",
"./dist/cursor.css"
],
"keywords": [
"react",
"cursor",
"custom-cursor",
"react-custom-cursor",
"framer-motion",
"motion",
"animation",
"ssr",
"nextjs",
"typescript"
],
"author": "Phazr Inc",
"license": "MIT",
"homepage": "https://github.com/Phazr-Inc/custom-cursor#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Phazr-Inc/custom-cursor"
},
"bugs": {
"url": "https://github.com/Phazr-Inc/custom-cursor/issues"
},
"peerDependencies": {
"motion": "^12.0.0",
"react": ">=18.0.0 <20.0.0",
"react-dom": ">=18.0.0 <20.0.0"
},
"peerDependenciesMeta": {
"motion": {
"optional": false
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.3.1",
"@rollup/plugin-typescript": "^11.1.6",
"@types/react": "^19.1.8",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"copyfiles": "^2.4.1",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.6.0",
"rimraf": "^6.0.1",
"rollup": "^4.44.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-visualizer": "^6.0.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./cursor.css": "./dist/cursor.css"
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
},
"prettier": {
"singleQuote": true
},
"scripts": {
"clean": "node -e \"const fs=require('fs');const path=require('path');if(fs.existsSync('dist'))fs.rmSync('dist',{recursive:true})\"",
"build": "pnpm clean && rollup -c",
"dev:rollup": "rollup -c -w",
"dev": "pnpm --filter next15 dev",
"lint": "eslint .",
"format": "prettier --write . --ignore-path ./gitignore",
"type-check": "tsc --noEmit",
"release": "pnpm version patch && pnpm publish",
"test:build": "pnpm build && node -e \"console.log('Build successful')\"",
"analyze": "pnpm build",
"link:local": "pnpm link --global",
"unlink:local": "pnpm unlink --global"
}
}