react-router-to-array-of-object
Version:
Convert your react router component to an array of objet {name: 'route name', path: 'route path'}
43 lines (42 loc) • 1.2 kB
JSON
{
"name": "react-router-to-array-of-object",
"version": "0.1.4",
"description": "Convert your react router component to an array of objet {name: 'route name', path: 'route path'}",
"main": "lib/index.js",
"scripts": {
"build": "babel src --presets babel-preset-es2015 --out-dir lib",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/sarkistlt/react-router-to-array-of-object.git"
},
"keywords": [
"jsx",
"routes to array",
"react",
"react-router",
"parser",
"react-parser"
],
"author": {
"name": "Sarkis Arutiunian (sarkis.tlt@gmail.com)"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/sarkistlt/react-router-to-array-of-object/issues"
},
"homepage": "https://github.com/sarkistlt/react-router-to-array-of-object#readme",
"devDependencies": {
"babel-plugin-transform-object-rest-spread": "^6.3.13",
"babel-preset-es2015": "^6.1.18",
"babel-cli": "^6.1.18",
"babel-core": "^6.1.18",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-react": "^6.1.18"
},
"dependencies": {
"react-router": "^2.4.1",
"react": "^15.1.0"
}
}