UNPKG

react-guarded

Version:

Simple guard component for react js.

48 lines (47 loc) 1.15 kB
{ "name": "react-guarded", "version": "1.0.9", "description": "Simple guard component for react js.", "main": "build/bundle.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "webpack --watch", "build": "webpack --mode production" }, "repository": { "type": "git", "url": "git+https://github.com/Aroin/react-guarded.git" }, "keywords": [ "reactjs", "guard", "permission", "role", "protected", "route" ], "author": { "name": "Hamid Taheri (https://h4mit.github.io)", "email": "H4mid.Taheri@gmail.com" }, "license": "ISC", "bugs": { "url": "https://github.com/Aroin/react-guarded/issues" }, "homepage": "https://github.com/Aroin/react-guarded#readme", "peerDependencies": { "react": "^16.3.0", "react-dom": "^16.3.0" }, "devDependencies": { "babel-core": "^6.21.0", "babel-loader": "^7.1.4", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.16.0", "babel-preset-stage-0": "^6.24.1", "path": "^0.12.7", "webpack": "^4.5.0", "webpack-cli": "^2.0.14" }, "typings": "./index.d.ts" }