UNPKG

react-parallax-tilt

Version:

Easily apply tilt hover effect on React components - lightweight/zero dependencies

133 lines (132 loc) 4.33 kB
{ "name": "react-parallax-tilt", "description": "Easily apply tilt hover effect on React components - lightweight/zero dependencies", "version": "1.7.315", "type": "module", "types": "./dist/legacy/index.d.ts", "module": "./dist/legacy/index.js", "main": "./dist/legacy/index.cjs", "exports": { "import": { "types": "./dist/modern/index.d.ts", "default": "./dist/modern/index.js" }, "require": { "types": "./dist/modern/index.d.cts", "default": "./dist/modern/index.cjs" } }, "sideEffects": false, "files": [ "dist", "README.md" ], "scripts": { "start": "npm run storybook", "prepare": "husky", "build": "rm -rf dist && rollup --config scripts/rollup.config.ts --configPlugin typescript --configImportAttributesKey with", "lint": "eslint --report-unused-disable-directives --max-warnings 0 .", "lint:fix": "eslint --fix .", "lint:staged": "lint-staged", "tsc": "tsc -p scripts/tsconfig.dev.json", "format:fix": "prettier --config .prettierrc --write --ignore-unknown -l .", "commit": "git-cz", "test": "vitest watch", "test:ui": "vitest --ui", "test:report": "vitest run --coverage", "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:e2e:report": "playwright show-report test-e2e-report", "storybook": "TS_NODE_PROJECT=scripts/tsconfig.dev.json storybook dev -p 9009 --quiet", "storybook:build": "storybook build -o build-storybook-static", "release": "semantic-release --branches main", "demozap": "demozap generate --prefix=_ && npm run format:fix && npm run lint:fix", "knip": "knip", "clean": "rm -rf node_modules test-unit-report test-e2e-report test-e2e-results dist compiled build-storybook-static" }, "devDependencies": { "@commitlint/cli": "20.1.0", "@commitlint/config-conventional": "20.0.0", "@eslint/js": "9.39.1", "@playwright/test": "1.57.0", "@rollup/plugin-commonjs": "29.0.0", "@rollup/plugin-terser": "0.4.4", "@rollup/plugin-typescript": "11.1.6", "@storybook/react-vite": "10.1.4", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/eslint": "9.6.1", "@types/node": "24.10.1", "@types/react": "19.2.7", "@types/react-dom": "19.2.3", "@vitest/coverage-v8": "4.0.15", "@vitest/eslint-plugin": "1.5.1", "@vitest/ui": "4.0.15", "commitizen": "4.3.1", "demozap": "1.3.83", "eslint": "9.39.1", "eslint-config-prettier": "10.1.8", "eslint-import-resolver-typescript": "4.4.4", "eslint-plugin-import-x": "4.16.1", "eslint-plugin-jest-dom": "5.5.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-no-array-reduce": "1.0.62", "eslint-plugin-playwright": "2.4.0", "eslint-plugin-prettier": "5.5.4", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-testing-library": "7.13.5", "husky": "9.1.7", "jsdom": "26.1.0", "knip": "5.71.0", "lint-staged": "16.2.7", "prettier": "3.7.4", "react": "19.2.1", "react-demo-tab": "1.3.30", "react-dom": "19.2.1", "react-joystick-component": "6.2.1", "rollup": "4.53.3", "rollup-plugin-dts": "6.3.0", "semantic-release": "25.0.2", "storybook": "10.1.4", "typescript": "5.9.3", "typescript-eslint": "8.48.1", "vite": "7.2.6", "vite-tsconfig-paths": "5.1.4", "vitest": "4.0.15" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "license": "MIT", "author": "Marko Kosir <kosir.mar@gmail.com>", "homepage": "https://mkosir.github.io/react-parallax-tilt", "repository": { "type": "git", "url": "git+https://github.com/mkosir/react-parallax-tilt.git" }, "bugs": { "url": "https://github.com/mkosir/react-parallax-tilt/issues" }, "keywords": [ "react", "react-component", "react-tilt", "react-parallax-tilt", "parallax", "tilt", "glare", "transform", "rotate", "scale", "flip", "effect", "component", "gyroscope", "sensor", "mirror" ] }