UNPKG

react-router-magic

Version:
82 lines (81 loc) 2.25 kB
{ "name": "react-router-magic", "version": "0.6.7", "repository": { "type": "git", "url": "git+ssh://git@github.com/Realytics/react-router-magic.git" }, "keywords": [ "react", "router", "context", "update", "scu", "magic", "react-router" ], "author": "Etienne Dldc <etienne.dldc@outlook.fr>", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "clean": "rimraf lib", "build": "NODE_ENV=production npm run clean && NODE_ENV=production webpack lib/index.js", "build-stats": "NODE_ENV=production npm run clean && NODE_ENV=production webpack lib/index.js --json > stats.json", "prepare": "npm run build", "test": "jest", "test:watch": "yarn test -- --watch", "test:cov": "yarn test -- --coverage" }, "dependencies": { "hoist-non-react-statics": "^1.2.0" }, "devDependencies": { "@types/deep-equal": "^1.0.0", "@types/history": "^4.5.1", "@types/jest": "^19.2.3", "@types/lodash.isfunction": "^3.0.2", "@types/lodash.isstring": "^4.0.2", "@types/prop-types": "^15.5.1", "@types/react": "^15.0.24", "@types/react-dom": "^15.5.0", "cross-env": "^5.0.0", "deep-equal": "^1.0.1", "jest": "^20.0.4", "lodash.isfunction": "^3.0.8", "lodash.isstring": "^4.0.1", "rimraf": "^2.6.1", "ts-jest": "^20.0.5", "ts-loader": "^2.0.0", "tslint": "^5.2.0", "tslint-loader": "^3.3.0", "typescript": "^2.3.2", "webpack": "^2.5.1" }, "peerDependencies": { "prop-types": "^15.5.10", "react": "^15.5.4" }, "description": "Like react-router but with magic inside", "bugs": { "url": "https://github.com/Realytics/react-router-magic/issues" }, "homepage": "https://github.com/Realytics/react-router-magic#readme", "directories": { "example": "examples", "lib": "lib", "test": "test" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/test/.*\\.spec.(ts|tsx|js))$", "mapCoverage": true } }