UNPKG

react-router-scroll-4

Version:
84 lines (83 loc) 2.52 kB
{ "name": "react-router-scroll-4", "version": "1.0.0-beta.2", "description": "React Router 4 scroll management", "files": [ "lib" ], "main": "lib/react-router-scroll-4.js", "module": "lib/react-router-scroll-4.es.js", "scripts": { "build": "npm run build-legacy && npm run build-modern", "build-legacy": "rollup -c rollup.config.js", "build-modern": "rollup -c rollup.es.config.js", "lint": "eslint src test src/*.js", "prepublish": "npm run build", "tdd": "cross-env NODE_ENV=test karma start", "test": "npm run lint -- --fix && npm run testonly", "testonly": "npm run tdd -- --single-run" }, "repository": { "type": "git", "url": "git+https://github.com/ytase/react-router-scroll" }, "keywords": [ "react", "react router", "scroll" ], "author": "Jimmy Jia", "license": "MIT", "bugs": { "url": "https://github.com/ytase/react-router-scroll/issues" }, "homepage": "https://github.com/ytase/react-router-scroll#readme", "dependencies": { "scroll-behavior": "^0.9.1", "warning": "^3.0.0" }, "peerDependencies": { "prop-types": "^15.6.0", "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0", "react-router-dom": "^4.0" }, "devDependencies": { "babel-core": "^6.26.0", "babel-eslint": "^8.0.1", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-polyfill": "^6.16.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.16.0", "chai": "^4.1.2", "cross-env": "^3.1.3", "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": "^4.7.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-rollup-preprocessor": "^5.0.1", "karma-sinon-chai": "^1.3.2", "karma-sourcemap-loader": "^0.3.7", "mocha": "^4.0.1", "react": "^16.0.0", "react-dom": "^16.0.0", "react-router-dom": "^4.0", "rollup": "^0.50.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-commonjs": "^8.2.4", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^2.0.0", "sinon": "^4.0.1", "sinon-chai": "^2.14.0" } }