UNPKG

react-scrollsyx

Version:

An ambitious light-weight react module written in TypeScript for tracking scroll progress in a performant way. Developed for use with spring based animation libraries such as react-spring, but can be used with or without any library.

82 lines 2.1 kB
{ "name": "react-scrollsyx", "private": false, "version": "1.2.3", "description": "", "license": "MIT", "type": "module", "author": "Olof Larsson", "repository": { "type": "git", "url": "https://github.com/olarsson/react-scrollsy.git" }, "keywords": [ "react", "react scroll", "scroll triggered", "scrolltriggered", "scrolling", "scrolling animation", "scroll", "scroll animation", "progress", "animation", "animate", "animate scroll", "animating", "animating scroll", "spring", "physics", "react-spring" ], "types": "dist/index", "main": "./dist/index.umd", "module": "./dist/index.es", "exports": { ".": { "import": "./dist/index.es", "require": "./dist/index.umd" } }, "scripts": { "dev": "vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "test": "vitest run", "watch": "vitest" }, "dependencies": { "ios-inner-height": "^1.1.1", "throttle-typescript": "^1.1.0" }, "devDependencies": { "@testing-library/dom": "^9.3.1", "@testing-library/react": "^14.0.0", "@types/debounce": "^1.2.1", "@types/node": "^20.4.9", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitejs/plugin-react": "^4.0.3", "c8": "^8.0.1", "eslint": "^8.46.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", "happy-dom": "^10.9.0", "jsdom": "^22.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "rollup-plugin-peer-deps-external": "^2.2.4", "typescript": "^5.0.2", "vite": "^4.4.9", "vite-plugin-dts": "^3.5.1", "vitest": "^0.34.1" }, "peerDependencies ": { "react": "^18", "react-dom": "^18" } }