UNPKG

react-parallax-tilt

Version:

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

134 lines (133 loc) 4.41 kB
{ "name": "react-parallax-tilt", "description": "Easily apply tilt hover effect on React components - lightweight/zero dependencies", "version": "1.7.300", "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-husky": "lint-staged", "tsc": "tsc -p scripts/tsconfig.dev.json", "format-lint": "prettier --config .prettierrc --check --ignore-unknown .", "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": "19.8.1", "@commitlint/config-conventional": "19.8.1", "@eslint/js": "9.30.1", "@playwright/test": "1.53.2", "@rollup/plugin-commonjs": "28.0.6", "@rollup/plugin-terser": "0.4.4", "@rollup/plugin-typescript": "11.1.6", "@storybook/react-vite": "9.0.15", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/eslint": "9.6.1", "@types/node": "24.0.10", "@types/react": "19.1.8", "@types/react-dom": "19.1.6", "@vitest/coverage-v8": "3.2.4", "@vitest/eslint-plugin": "1.3.4", "@vitest/ui": "3.2.4", "commitizen": "4.3.1", "demozap": "1.3.83", "eslint": "9.30.1", "eslint-config-prettier": "10.1.5", "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.2.0", "eslint-plugin-prettier": "5.5.1", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "6.0.0", "eslint-plugin-testing-library": "7.5.3", "husky": "9.1.7", "jsdom": "26.1.0", "knip": "5.61.3", "lint-staged": "16.1.2", "prettier": "3.6.2", "react": "19.1.0", "react-demo-tab": "1.3.30", "react-dom": "19.1.0", "react-joystick-component": "6.2.1", "rollup": "4.44.2", "rollup-plugin-dts": "6.2.1", "semantic-release": "24.2.6", "storybook": "9.0.15", "typescript": "5.8.3", "typescript-eslint": "8.36.0", "vite": "7.0.2", "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.4" }, "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" ] }