react-sticky-kit
Version:
A lightweight, flexible React sticky container and item component library supporting multiple sticky modes, advanced layouts, and edge cases.
85 lines (84 loc) • 2.39 kB
JSON
{
"name": "react-sticky-kit",
"version": "0.2.1",
"type": "module",
"description": "A lightweight, flexible React sticky container and item component library supporting multiple sticky modes, advanced layouts, and edge cases.",
"keywords": [
"react",
"sticky",
"react-sticky",
"sticky-container",
"sticky-item",
"z-index"
],
"repository": {
"type": "git",
"url": "https://github.com/oe/react-sticky-kit.git"
},
"bugs": {
"url": "https://github.com/oe/react-sticky-kit/issues"
},
"homepage": "https://github.com/oe/react-sticky-kit#readme",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"type-check": "tsc --noEmit",
"lint": "eslint src demo --ext .ts,.tsx,.js,.jsx",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"pub": "tsx ./scripts/publish.ts"
},
"files": [
"dist"
],
"main": "dist/react-sticky.umd.js",
"module": "dist/react-sticky.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-sticky.es.js",
"require": "./dist/react-sticky.umd.js"
},
"./style": "./dist/style.css",
"./dist/style.css": "./dist/style.css"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@testing-library/jest-dom": "^6.1.6",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.4.3",
"@types/node": "^22.15.18",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"sass": "^1.88.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.4",
"typescript": "^5.0.0",
"typescript-eslint": "^8.30.1",
"vite": "^4.0.0",
"vite-plugin-dts": "^4.5.4",
"vitest": "^3.1.3"
}
}