UNPKG

react-anchor-navigation

Version:

React lightweight library for anchor scrolling and navigation tied to URL hash.

61 lines (60 loc) 1.69 kB
{ "name": "react-anchor-navigation", "version": "0.2.7", "description": "React lightweight library for anchor scrolling and navigation tied to URL hash.", "main": "./dist/cjs/react-anchor-navigation.js", "module": "./dist/esm/react-anchor-navigation.js", "browser": { "./dist/cjs/react-anchor-navigation.js": "./dist/umd/react-anchor-navigation.js" }, "scripts": { "lint": "tsc --noEmit", "test": "yarn lint && yarn cypress:headless", "build": "del dist && rollup -c", "cypress": "cypress open", "cypress:headless": "cypress run" }, "files": [ "dist/", "index.d.ts", "src/" ], "repository": { "type": "git", "url": "git+https://github.com/koala-interactive/react-anchor-navigation.git" }, "keywords": [ "react", "anchor", "hash", "scrolling", "navigation" ], "author": "koala-interactive", "license": "MIT", "bugs": { "url": "https://github.com/koala-interactive/react-anchor-navigation/issues" }, "homepage": "https://github.com/koala-interactive/react-anchor-navigation#readme", "peerDependencies": { "react": ">=16.8.6" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.0", "@babel/preset-react": "^7.9.0", "@babel/preset-typescript": "^7.9.0", "@rollup/plugin-node-resolve": "^7.0.0", "@types/node": "^13.5.0", "@types/react": "^16.3.13", "cypress": "^10.0.0", "del-cli": "^3.0.0", "react": "^16.8.6", "rollup": "^1.30.0", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-size-snapshot": "^0.10.0", "rollup-plugin-terser": "^5.2.0", "tslib": "^1.10.0", "typescript": "^3.7.5" } }