react-router-alive
Version:
A keep-alive route component for react-router
78 lines (77 loc) • 2.41 kB
JSON
{
"name": "react-router-alive",
"version": "1.0.1-alpha.0",
"main": "./bin/bundle.js",
"author": {
"name": "ouyang-chao",
"email": "chao@ouyang.io"
},
"license": "Anti-996",
"repository": "https://github.com/oychao/react-router-alive",
"keywords": [
"react",
"keep-alive"
],
"description": "A keep-alive route component for react-router",
"files": [
"LICENSE.md",
"README.md",
"bin/"
],
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "js"
}
},
"scripts": {
"build": "cross-env NODE_ENV=production rollup -c",
"lint": "eslint .",
"fix": "eslint . --fix --ext .js",
"test": "cross-env NODE_ENV=test mocha --require @babel/register test/**/*.spec.js",
"prepare": "npm run build",
"watch": "npm-watch build"
},
"devDependencies": {
"@babel/core": "7.11.4",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-decorators": "7.10.5",
"@babel/plugin-proposal-do-expressions": "7.10.4",
"@babel/plugin-proposal-export-default-from": "7.10.4",
"@babel/plugin-proposal-export-namespace-from": "7.10.4",
"@babel/plugin-proposal-function-bind": "7.10.5",
"@babel/plugin-proposal-function-sent": "7.10.4",
"@babel/plugin-proposal-json-strings": "7.10.4",
"@babel/plugin-proposal-logical-assignment-operators": "7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
"@babel/plugin-proposal-numeric-separator": "7.10.4",
"@babel/plugin-proposal-optional-chaining": "7.11.0",
"@babel/plugin-proposal-pipeline-operator": "7.10.5",
"@babel/plugin-proposal-throw-expressions": "7.10.4",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-react-jsx": "7.10.4",
"@babel/preset-env": "7.11.0",
"@babel/register": "7.10.5",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint-plugin-react": "^7.20.6",
"mocha": "^8.1.1",
"mocha-sinon": "^2.1.2",
"npm-watch": "^0.7.0",
"rollup": "^2.26.5",
"rollup-plugin-babel": "^4.4.0",
"sinon": "^9.0.3"
},
"dependencies": {
"path-to-regexp": "^6.1.0",
"react": "^16.13.1",
"react-router": "^5.2.0",
"tiny-invariant": "^1.1.0",
"tiny-warning": "^1.0.3"
}
}