react-router-scroll-top
Version:
An easy scroll to top component based on the React Router Scroll Restoration Example
71 lines (70 loc) • 1.98 kB
JSON
{
"name": "react-router-scroll-top",
"description": "An easy scroll to top component based on the React Router Scroll Restoration Example",
"version": "0.3.1",
"main": "dist/react-router-scroll-top.cjs.js",
"module": "dist/react-router-scroll-top.esm.js",
"author": "Edoardo L'Astorina",
"repository": {
"type": "git",
"url": "git://github.com/bluframe/react-router-scroll-top.git"
},
"license": "MIT",
"scripts": {
"build": "rollup -c",
"clean": "rm -fr dist/",
"flow": "flow",
"lint": "eslint src/",
"prepublish": "yarn lint && yarn flow && yarn test && yarn run clean && yarn run build",
"test": "jest --silent --coverage"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.10.0",
"eslint-plugin-flowtype": "^2.50.3",
"eslint-plugin-html": "^4.0.6",
"eslint-plugin-prettier": "^2.7.0",
"eslint-plugin-react": "^7.28.0",
"flow-bin": "^0.170.0",
"jest-cli": "^21.2.1",
"prettier": "^1.19.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-test-renderer": "^16.14.0",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.4.0",
"sinon": "^4.5.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0"
},
"jest": {
"transform": {
".js": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "(/__tests__/.*|\\.test)\\.js$"
},
"files": [
"dist"
],
"keywords": [
"react",
"react router",
"scroll restoration",
"scroll",
"scroll to top"
],
"packageManager": "yarn@3.1.1"
}