react-router-navigation-prompt
Version:
A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.
72 lines (71 loc) • 2.24 kB
JSON
{
"name": "react-router-navigation-prompt",
"version": "1.9.6",
"description": "A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.",
"scripts": {
"build": "webpack",
"flow": "flow",
"flow-typed": "flow-typed",
"lint": "eslint --ext .js --fix src/",
"prepublishonly": "npm install; npm run lint; npm run flow; npm run build",
"test": "concurrently -k \"npm run test-server\" \"npm run testcafe\"",
"test-server": "webpack-dev-server --config ./test/webpack.config.js",
"testcafe": "testcafe chrome test/index.js",
"typescript": "tsc --noEmit ./types/index.d.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZacharyRSmith/react-router-navigation-prompt.git"
},
"keywords": [
"confirm",
"navigation",
"prompt",
"react",
"router",
"user"
],
"author": "@ZacharyRSmith",
"license": "MIT",
"bugs": {
"url": "https://github.com/ZacharyRSmith/react-router-navigation-prompt/issues"
},
"jsnext:main": "es/index.js",
"main": "es/index.js",
"module": "es/index.js",
"typings": "types/index.d.ts",
"homepage": "https://github.com/ZacharyRSmith/react-router-navigation-prompt#readme",
"peerDependencies": {
"react": ">=15",
"react-router-dom": ">=4.x"
},
"devDependencies": {
"@types/react": "^16.4.16",
"@types/react-router-dom": "^4.3.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"concurrently": "^3.5.1",
"copy-webpack-plugin": "^10.2.4",
"eslint": "^8.9.0",
"eslint-config-google": "^0.9.1",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.57.3",
"flow-typed": "^2.4.0",
"react": "^16.3.2",
"react-bootstrap": "^0.32.1",
"react-dom": "^16.3.2",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"testcafe": "^1.18.3",
"typescript": "^3.1.1",
"webpack": "^5.68.0",
"webpack-dev-server": "^4.7.4"
}
}