UNPKG

react-router-guard

Version:
92 lines (91 loc) 2.79 kB
{ "name": "react-router-guard", "version": "2.3.1", "description": "React Router Guard", "author": "laptransang", "license": "MIT", "repository": "laptransang/react-router-guard", "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "test": "cross-env CI=1 react-scripts-ts test --env=jsdom", "test:watch": "react-scripts-ts test --env=jsdom", "build": "rollup -c", "start": "rollup -c -w", "prepare": "yarn run build", "predeploy": "cd example && yarn install && yarn run build", "deploy": "gh-pages -d example/build" }, "peerDependencies": { "react": "^15.0.0 || ^16 || ^17 || ^18", "react-dom": "^15.0.0 || ^16 || ^17 || ^18" }, "devDependencies": { "@svgr/rollup": "^2.4.1", "@types/history": "^4.7.3", "@types/jest": "^23.1.5", "@types/react": "^16.3.13", "@types/react-dom": "^16.9.4", "@types/react-router-dom": "^5.1.3", "@typescript-eslint/eslint-plugin": "^2.10.0", "@typescript-eslint/parser": "^2.10.0", "babel-core": "^6.26.3", "babel-eslint": "^8.2.5", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "cross-env": "^5.1.4", "eslint": "^6.7.2", "eslint-config-airbnb": "^17.1.0", "eslint-config-airbnb-typescript": "^6.3.1", "eslint-config-prettier": "^6.7.0", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-import-resolver-babel-module": "^5.0.1", "eslint-plugin-import": "^2.13.0", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-module-resolver": "^0.8.0", "eslint-plugin-node": "^7.0.1", "eslint-plugin-promise": "^4.0.0", "eslint-plugin-react": "^7.10.0", "eslint-plugin-standard": "^3.1.0", "gh-pages": "^1.2.0", "react": "^16.4.1", "react-dom": "^16.4.1", "react-scripts": "^1.1.4", "react-scripts-ts": "^3.1.0", "rollup": "^1.27.13", "rollup-plugin-babel": "^3.0.7", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-postcss": "^1.6.2", "rollup-plugin-typescript2": "^0.17.0", "rollup-plugin-url": "^1.4.0", "typescript": "^3.7.3" }, "files": [ "dist" ], "dependencies": { "history": "4.7.2", "react-loadable": "^5.5.0", "react-router-dom": "^4.3.1" }, "keywords": [ "react", "router", "guard", "react authentication router", "react router auth", "react router code splitting", "react router lazy" ] }