UNPKG

react-router-transition

Version:

A thin layer over react-motion for animating routes in react-router.

50 lines (49 loc) 1.51 kB
{ "name": "react-router-transition", "version": "2.1.0", "description": "A thin layer over react-motion for animating routes in react-router.", "main": "lib/index.js", "scripts": { "build": "babel index.js --out-dir lib", "clean": "rm -rf lib", "gh-pages": "git b -D gh-pages && git co -b gh-pages && (cd example && npm run build) && cp example/{index.html,bundle.js} ./ && cp index.html 404.html && git add . && git commit -m 'gh-pages' && git push origin gh-pages --force", "prepublishOnly": "npm run clean && npm run build", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/maisano/react-router-transition.git" }, "keywords": [ "react", "react-router", "react-motion", "animation", "transition" ], "author": "maisano", "license": "MIT", "bugs": { "url": "https://github.com/maisano/react-router-transition/issues" }, "homepage": "https://github.com/maisano/react-router-transition#readme", "peerDependencies": { "react": "^16.8.0", "react-dom": "^16.8.0", "react-router-dom": "^5.0.0" }, "dependencies": { "prop-types": "^15.7.2", "react-motion": "^0.5.2" }, "devDependencies": { "@babel/cli": "^7.6.2", "@babel/core": "^7.6.2", "@babel/preset-env": "^7.6.2", "@babel/preset-react": "^7.0.0", "prettier": "^1.18.2", "react": "^16.10.2", "react-dom": "^16.10.2", "react-router-dom": "^5.1.2" } }