UNPKG

@ehubbell/scrollspy

Version:

A lightweight scrollspy library for React projects.

77 lines (76 loc) 2.25 kB
{ "name": "@ehubbell/scrollspy", "version": "0.0.2", "description": "A lightweight scrollspy library for React projects.", "author": "Eric Hubbell<eric@erichubbell.com>", "license": "ISC", "main": "dist/index.cjs.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/ehubbell/scrollspy.git" }, "bugs": { "url": "https://github.com/ehubbell/scrollspy/issues" }, "files": [ "dist" ], "keywords": [ "react", "scrollspy", "react-scrollspy" ], "scripts": { "dev": "vite build --mode development --watch --minify false", "start": "vite build --mode development --minify false", "build": "vite build --mode production --minify true && npm run build:ts", "build:ts": "dts-bundle-generator --config dts.config.ts", "lint": "eslint src", "lint:fix": "eslint src --fix", "format": "prettier src", "format:fix": "prettier --write src", "clean": "npm run lint:fix && npm run format:fix", "commit": "scripts/commit.sh", "deploy": "scripts/deploy.sh", "test": "jest", "prepare": "husky" }, "peerDependencies": { "react": "^18 || ^19", "react-dom": "^18 || ^19" }, "devDependencies": { "@types/accounting": "^0.4.5", "@types/jest": "^29.5.1", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", "@typescript-eslint/eslint-plugin": "^5.46.0", "@typescript-eslint/parser": "^5.46.0", "@vitejs/plugin-react": "^3.0.0", "dts-bundle-generator": "^9.5.1", "eslint": "^8.29.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-eqeqeq-fix": "^1.0.3", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.34.3", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.0.0", "husky": "^9.1.7", "jest": "^29.5.0", "prettier": "^3.3.2", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "tslib": "^2.8.1", "typescript": "^4.9.4", "vite": "^4.0.0", "vite-plugin-dts": "^4.5.0" }, "dependencies": { "accounting": "^0.4.1" } }