{"_id":"react-router-scroll","_rev":"287368","name":"react-router-scroll","description":"React Router scroll management","dist-tags":{"latest":"0.4.4"},"maintainers":[{"name":"taion","email":""}],"time":{"modified":"2021-06-03T18:40:16.000Z","created":"2016-04-30T18:16:52.295Z","0.4.4":"2017-11-08T07:24:57.663Z","0.4.3":"2017-09-28T02:29:45.988Z","0.4.2":"2017-04-10T18:58:22.963Z","0.4.1":"2016-11-05T04:43:17.730Z","0.4.0":"2016-11-04T23:33:02.225Z","0.3.3":"2016-10-29T19:18:43.765Z","0.3.2":"2016-08-22T15:02:24.338Z","0.3.1":"2016-08-10T15:32:20.821Z","0.3.0":"2016-08-06T01:42:14.853Z","0.2.1":"2016-07-13T18:19:23.577Z","0.2.0":"2016-05-06T06:49:39.676Z","0.1.0":"2016-05-03T15:58:23.722Z","0.0.0":"2016-04-30T18:16:52.295Z"},"users":{"equimper":true,"dhanya-kr":true,"alexxnica":true,"tedyhy":true,"petar.begovic":true},"author":{"name":"Jimmy Jia"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"versions":{"0.4.4":{"name":"react-router-scroll","version":"0.4.4","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"prop-types":"^15.6.0","scroll-behavior":"^0.9.5","warning":"^3.0.0"},"peerDependencies":{"history":"^2.0.0 || ^3.0.0","react":"^0.14.9 || >=15.3.0","react-dom":"^0.14.9 || >=15.3.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-1":"^6.24.1","chai":"^4.1.2","create-react-class":"^15.6.2","cross-env":"^5.1.1","dirty-chai":"^2.0.1","dom-helpers":"^3.2.1","eslint":"^4.10.0","eslint-config-4catalyzer-react":"^0.3.3","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^5.1.1","eslint-plugin-react":"^7.4.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon-chai":"^1.3.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.5","mocha":"^4.0.1","react":"^16.0.0","react-dom":"^16.0.0","react-router":"^2.8.1","rimraf":"^2.6.2","sinon":"^4.1.2","sinon-chai":"^2.14.0","webpack":"^3.8.1"},"gitHead":"c09b1588de23cb925920cd61cca9709df50fa898","_id":"react-router-scroll@0.4.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"4d7b71c75b45ff296e4adca1e029a86e898a155d","size":5670,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.4.4.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-0.4.4.tgz_1510125896701_0.4914888069033623"},"directories":{},"publish_time":1510125897663,"_hasShrinkwrap":false,"_cnpm_publish_time":1510125897663},"0.4.3":{"name":"react-router-scroll","version":"0.4.3","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"prop-types":"^15.6.0","scroll-behavior":"^0.9.3","warning":"^3.0.0"},"peerDependencies":{"history":"^2.0.0 || ^3.0.0","react":"^0.14.9 || >=15.3.0","react-dom":"^0.14.9 || >=15.3.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-1":"^6.24.1","chai":"^4.1.2","create-react-class":"^15.6.2","cross-env":"^5.0.5","dirty-chai":"^2.0.1","dom-helpers":"^3.2.1","eslint":"^4.7.2","eslint-config-4catalyzer-react":"^0.3.2","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^5.1.1","eslint-plugin-react":"^7.4.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","react":"^16.0.0","react-dom":"^16.0.0","react-router":"^2.8.1","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"gitHead":"fb8d995091ce179bd56f3a9bfe0d761ab17e68b6","_id":"react-router-scroll@0.4.3","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"40d8bdac2a7a4fc859e02e3f25fcb7f722a1b728","size":5423,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.4.3.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-0.4.3.tgz_1506565785058_0.402001996524632"},"directories":{},"publish_time":1506565785988,"_cnpm_publish_time":1506565785988,"_hasShrinkwrap":false},"0.4.2":{"name":"react-router-scroll","version":"0.4.2","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"prop-types":"^15.5.6","scroll-behavior":"^0.9.3","warning":"^3.0.0"},"peerDependencies":{"history":"^2.0.0 || ^3.0.0","react":"^0.14.0 || ^15.0.0","react-dom":"^0.14.0 || ^15.0.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-react":"^6.16.0","babel-preset-stage-1":"^6.16.0","chai":"^3.5.0","cross-env":"^3.1.3","dirty-chai":"^1.2.2","dom-helpers":"^3.0.0","eslint":"^3.9.1","eslint-config-4catalyzer-react":"^0.1.3","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.5.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","react":"^15.5.3","react-dom":"^15.5.3","react-router":"^2.8.1","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"78ba900a618b7855c3179ffd0639715a51a84730","_id":"react-router-scroll@0.4.2","_shasum":"4b90e8707edf96eba7f066d94c5b4338bd6848b7","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.4.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"4b90e8707edf96eba7f066d94c5b4338bd6848b7","size":5403,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.4.2.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.4.2.tgz_1491850701150_0.211771473987028"},"directories":{},"publish_time":1491850702963,"_cnpm_publish_time":1491850702963,"_hasShrinkwrap":false},"0.4.1":{"name":"react-router-scroll","version":"0.4.1","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"scroll-behavior":"^0.9.1","warning":"^3.0.0"},"peerDependencies":{"history":"^2.0.0 || ^3.0.0","react":"^0.14.0 || ^15.0.0","react-dom":"^0.14.0 || ^15.0.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-react":"^6.16.0","babel-preset-stage-1":"^6.16.0","chai":"^3.5.0","cross-env":"^3.1.3","dirty-chai":"^1.2.2","dom-helpers":"^3.0.0","eslint":"^3.9.1","eslint-config-4catalyzer-react":"^0.1.3","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.5.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","react":"^15.3.2","react-dom":"^15.3.2","react-router":"^2.8.1","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"a11e97be8b0f213223c5bfb91c89eb3e18529e2f","_id":"react-router-scroll@0.4.1","_shasum":"8cafd348d34e54b1127ec0fb7f8323d0d4c489e0","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"8cafd348d34e54b1127ec0fb7f8323d0d4c489e0","size":5194,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.4.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.4.1.tgz_1478320997192_0.4329072814434767"},"directories":{},"publish_time":1478320997730,"_cnpm_publish_time":1478320997730,"_hasShrinkwrap":false},"0.4.0":{"name":"react-router-scroll","version":"0.4.0","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"scroll-behavior":"^0.9.0","warning":"^3.0.0"},"peerDependencies":{"history":"^2.0.0 || ^3.0.0","react":"^0.14.0 || ^15.0.0","react-dom":"^0.14.0 || ^15.0.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-react":"^6.16.0","babel-preset-stage-1":"^6.16.0","chai":"^3.5.0","cross-env":"^3.1.3","dirty-chai":"^1.2.2","dom-helpers":"^3.0.0","eslint":"^3.9.1","eslint-config-4catalyzer-react":"^0.1.3","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.5.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","react":"^15.3.2","react-dom":"^15.3.2","react-router":"^2.8.1","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"a2cd8ee903fffbce0b0051f4e4b08e68fb6648aa","_id":"react-router-scroll@0.4.0","_shasum":"acfe16fc1e4b4c7acb9381df94418a80d43a96a0","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"acfe16fc1e4b4c7acb9381df94418a80d43a96a0","size":5191,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.4.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.4.0.tgz_1478302380414_0.8947748725768179"},"directories":{},"publish_time":1478302382225,"_cnpm_publish_time":1478302382225,"_hasShrinkwrap":false},"0.3.3":{"name":"react-router-scroll","version":"0.3.3","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.2","scroll-behavior":"^0.8.0","warning":"^3.0.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0 || ^3.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-react":"^6.11.1","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","cross-env":"^2.0.0","dom-helpers":"^2.4.0","eslint":"^2.13.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.2.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","react":"^15.3.0","react-dom":"^15.3.0","react-router":"^2.6.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"3480521ff18d8ecadd80e884c11106e6777b9f5c","_id":"react-router-scroll@0.3.3","_shasum":"e57200fd863e728fce8e90be933f5315990fc0e6","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"e57200fd863e728fce8e90be933f5315990fc0e6","size":4756,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.3.3.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.3.3.tgz_1477768721832_0.6965177468955517"},"directories":{},"publish_time":1477768723765,"_cnpm_publish_time":1477768723765,"_hasShrinkwrap":false},"0.3.2":{"name":"react-router-scroll","version":"0.3.2","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.2","scroll-behavior":"^0.8.0","warning":"^3.0.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-react":"^6.11.1","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","cross-env":"^2.0.0","dom-helpers":"^2.4.0","eslint":"^2.13.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.2.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","react":"^15.3.0","react-dom":"^15.3.0","react-router":"^2.6.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"9613127523f78c4e024e124d03e6306418fe832e","_id":"react-router-scroll@0.3.2","_shasum":"ba8b1d01b3681dc5a68d72865d35c10e84065e52","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"ba8b1d01b3681dc5a68d72865d35c10e84065e52","size":4751,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.3.2.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.3.2.tgz_1471878143846_0.8904615070205182"},"directories":{},"publish_time":1471878144338,"_cnpm_publish_time":1471878144338,"_hasShrinkwrap":false},"0.3.1":{"name":"react-router-scroll","version":"0.3.1","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.2","scroll-behavior":"^0.8.0","warning":"^3.0.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-react":"^6.11.1","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","cross-env":"^2.0.0","dom-helpers":"^2.4.0","eslint":"^2.13.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.2.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","react":"^15.3.0","react-dom":"^15.3.0","react-router":"^2.6.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"5013f983fce1783968c8252d7f78eb04939295e6","_id":"react-router-scroll@0.3.1","_shasum":"ce69e87b16bcb79de489b03ed101021263cb8aa0","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"ce69e87b16bcb79de489b03ed101021263cb8aa0","size":4707,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.3.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.3.1.tgz_1470843140127_0.405234711477533"},"directories":{},"publish_time":1470843140821,"_cnpm_publish_time":1470843140821,"_hasShrinkwrap":false},"0.3.0":{"name":"react-router-scroll","version":"0.3.0","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.2","scroll-behavior":"^0.8.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-react":"^6.11.1","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","cross-env":"^2.0.0","dom-helpers":"^2.4.0","eslint":"^2.13.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.12.0","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.2.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","react":"^15.3.0","react-dom":"^15.3.0","react-router":"^2.6.1","rimraf":"^2.5.4","warning":"^3.0.0","webpack":"^1.13.1"},"gitHead":"ab578855a4e33953c8848c81d5faedcfe7097ad6","_id":"react-router-scroll@0.3.0","_shasum":"fc328e2a5b8a65473773911cccb437765294b544","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"fc328e2a5b8a65473773911cccb437765294b544","size":4707,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.3.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.3.0.tgz_1470447733133_0.7704072282649577"},"directories":{},"publish_time":1470447734853,"_cnpm_publish_time":1470447734853,"_hasShrinkwrap":false},"0.2.1":{"name":"react-router-scroll","version":"0.2.1","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.1","scroll-behavior":"^0.7.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.10.4","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-react":"^6.11.1","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","dom-helpers":"^2.4.0","eslint":"^2.13.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.10.2","eslint-plugin-jsx-a11y":"^1.5.5","eslint-plugin-react":"^5.2.2","history":"^2.1.2","karma":"^1.1.1","karma-chrome-launcher":"^1.0.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.0.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.5.3","react":"^15.2.1","react-dom":"^15.2.1","react-router":"^2.5.2","rimraf":"^2.5.3","webpack":"^1.13.1"},"gitHead":"1448ce11ddc21305804eaec289c25be63d3fdf4e","_id":"react-router-scroll@0.2.1","_shasum":"8e4805cdf48db7a637dd7aa3d6090d92bce35807","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"8e4805cdf48db7a637dd7aa3d6090d92bce35807","size":3334,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.2.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.2.1.tgz_1468433961451_0.050874455366283655"},"directories":{},"publish_time":1468433963577,"_cnpm_publish_time":1468433963577,"_hasShrinkwrap":false},"0.2.0":{"name":"react-router-scroll","version":"0.2.0","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.1","scroll-behavior":"^0.7.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.8.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-polyfill":"^6.7.4","babel-preset-es2015":"^6.6.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","dom-helpers":"^2.4.0","eslint":"^2.9.0","eslint-config-airbnb":"^8.0.0","eslint-plugin-import":"^1.6.1","eslint-plugin-jsx-a11y":"^1.0.4","eslint-plugin-react":"^5.0.1","karma":"^0.13.22","karma-chrome-launcher":"^0.2.3","karma-firefox-launcher":"^0.1.7","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","react":"^15.0.2","react-dom":"^15.0.2","react-router":"^2.4.0","rimraf":"^2.5.2","webpack":"^1.13.0"},"gitHead":"c805b7418318a6ce1b019e98978b6e6496e5ba92","_id":"react-router-scroll@0.2.0","_shasum":"79b713860bb4e0f7b65305de3799fc002be9f322","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"79b713860bb4e0f7b65305de3799fc002be9f322","size":2888,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.2.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.2.0.tgz_1462517378102_0.68274847837165"},"directories":{},"publish_time":1462517379676,"_cnpm_publish_time":1462517379676,"_hasShrinkwrap":false},"0.1.0":{"name":"react-router-scroll","version":"0.1.0","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","dependencies":{"history":"^2.1.1","scroll-behavior":"^0.6.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-router":"^2.3.0"},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.8.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-polyfill":"^6.7.4","babel-preset-es2015":"^6.6.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-react":"^6.5.0","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","dom-helpers":"^2.4.0","eslint":"^2.9.0","eslint-config-airbnb":"^8.0.0","eslint-plugin-import":"^1.6.1","eslint-plugin-jsx-a11y":"^1.0.4","eslint-plugin-react":"^5.0.1","karma":"^0.13.22","karma-chrome-launcher":"^0.2.3","karma-firefox-launcher":"^0.1.7","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","react":"^15.0.2","react-dom":"^15.0.2","react-router":"^2.4.0","rimraf":"^2.5.2","webpack":"^1.13.0"},"gitHead":"fb516dbe98276f93d23a3dc05e8d90caf0c31e9c","_id":"react-router-scroll@0.1.0","_shasum":"5b8282254401e4753b467fc37c463960c2af999d","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"5b8282254401e4753b467fc37c463960c2af999d","size":3471,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.1.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.1.0.tgz_1462291102534_0.21121316635981202"},"directories":{},"publish_time":1462291103722,"_cnpm_publish_time":1462291103722,"_hasShrinkwrap":false},"0.0.0":{"name":"react-router-scroll","version":"0.0.0","description":"React Router scroll management","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/taion/react-router-scroll.git"},"keywords":["react","react router","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"homepage":"https://github.com/taion/react-router-scroll#readme","peerDependencies":{"react-router":">=2.3.0"},"gitHead":"079aab675979c835353dd3fea77728ed10638edb","_id":"react-router-scroll@0.0.0","_shasum":"3cbb4a436f7c4f105aafe4ef67c83443e78571b6","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"3cbb4a436f7c4f105aafe4ef67c83443e78571b6","size":1144,"noattachment":false,"key":"/react-router-scroll/-/react-router-scroll-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-router-scroll/download/react-router-scroll-0.0.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-router-scroll-0.0.0.tgz_1462040210163_0.3809377832803875"},"directories":{},"publish_time":1462040212295,"_cnpm_publish_time":1462040212295,"_hasShrinkwrap":false}},"readme":"# react-router-scroll [![Travis][build-badge]][build] [![npm][npm-badge]][npm]\n\n[React Router](https://github.com/reactjs/react-router) scroll management.\n\nreact-router-scroll is a React Router middleware that adds scroll management using [scroll-behavior](https://github.com/taion/scroll-behavior). By default, the middleware adds browser-style scroll behavior, but you can customize it to scroll however you want on route transitions.\n\n**This library does not currently support React Router v4, because React Router v4 has no concept of router middlewares. See ongoing discussion in [#52](https://github.com/taion/react-router-scroll/issues/52). For an interim solution for just scrolling to top on navigation, see the React Router [documentation on scroll restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration).**\n\n## Usage\n\n```js\nimport { applyRouterMiddleware, browserHistory, Router } from 'react-router';\nimport { useScroll } from 'react-router-scroll';\n\n/* ... */\n\nReactDOM.render(\n  <Router\n    history={browserHistory}\n    routes={routes}\n    render={applyRouterMiddleware(useScroll())}\n  />,\n  container\n);\n```\n\n## Guide\n\n### Installation\n\n```shell\n$ npm i -S react react-dom react-router\n$ npm i -S react-router-scroll\n```\n\n### Basic usage\n\nApply the `useScroll` router middleware using `applyRouterMiddleware`, as in the example above.\n\n### Custom scroll behavior\n\nYou can provide a custom `shouldUpdateScroll` callback as an argument to `useScroll`. This callback is called with the previous and the current router props.\n\nThe callback can return:\n\n- a falsy value to suppress updating the scroll position\n- a position array of `x` and `y`, such as `[0, 100]`, to scroll to that position\n- a string with the `id` or `name` of an element, to scroll to that element\n- a truthy value to emulate the browser default scroll behavior\n\n```js\nuseScroll((prevRouterProps, { location }) => (\n  prevRouterProps && location.pathname !== prevRouterProps.location.pathname\n));\n\nuseScroll((prevRouterProps, { routes }) => {\n  if (routes.some(route => route.ignoreScrollBehavior)) {\n    return false;\n  }\n\n  if (routes.some(route => route.scrollToTop)) {\n    return [0, 0];\n  }\n\n  return true;\n});\n```\n\nYou can customize `useScroll` even further by providing a configuration object with a `createScrollBehavior` callback that creates the scroll behavior object. This allows using a custom subclass of `ScrollBehavior` from scroll-behavior with custom logic. When using a configuration object, you can specify the `shouldUpdateScroll` callback as above under the `shouldUpdateScroll` key.\n\n```js\nuseScroll({\n  createScrollBehavior: (config) => new MyScrollBehavior(config),\n  shouldUpdateScroll,\n});\n```\n\n### Scrolling elements other than `window`\n\nUse `<ScrollContainer>` in components rendered by a router with the `useScroll` middleware to manage the scroll behavior of elements other than `window`. Each `<ScrollContainer>` must be given a unique `scrollKey`, and can be given an optional `shouldUpdateScroll` callback that behaves as above.\n\n```js\nimport { ScrollContainer } from 'react-router-scroll';\n\nfunction Page() {\n  /* ... */\n\n  return (\n    <ScrollContainer\n      scrollKey={scrollKey}\n      shouldUpdateScroll={shouldUpdateScroll}\n    >\n      <MyScrollableComponent />\n    </ScrollContainer>\n  );\n}\n```\n\n`<ScrollContainer>` does not support on-the-fly changes to `scrollKey` or to the DOM node for its child.\n\n### Notes\n\n#### Minimizing bundle size\n\nIf you are not using `<ScrollContainer>`, you can reduce your bundle size by importing the `useScroll` module directly.\n\n```js\nimport useScroll from 'react-router-scroll/lib/useScroll';\n```\n\n#### Server rendering\n\nDo not apply the `useScroll` middleware when rendering on a server. You may use `<ScrollContainer>` in server-rendered components; it will do nothing when rendering on a server.\n\n[build-badge]: https://img.shields.io/travis/taion/react-router-scroll/master.svg\n[build]: https://travis-ci.org/taion/react-router-scroll\n\n[npm-badge]: https://img.shields.io/npm/v/react-router-scroll.svg\n[npm]: https://www.npmjs.org/package/react-router-scroll\n","_attachments":{},"homepage":"https://github.com/taion/react-router-scroll#readme","bugs":{"url":"https://github.com/taion/react-router-scroll/issues"},"license":"MIT"}