UNPKG

react-hashchange

Version:

React component that notifies when browser's hash changes.

67 lines (66 loc) 1.51 kB
{ "name": "react-hashchange", "version": "0.1.0", "description": "React component that notifies when browser's hash changes.", "main": "lib/index.js", "module": "es/index.js", "files": [ "es", "lib", "umd" ], "license": "MIT", "repository": "https://github.com/dashed/react-hashchange", "author": { "name": "Alberto Leal", "email": "mailforalberto@gmail.com", "url": "github.com/dashed" }, "keywords": [ "react", "hashchange", "hash", "change", "react-hashchange", "url" ], "scripts": { "pretty": "prettier --write --tab-width 4 'src/**/*.js' 'test/**/*.js'", "lint": "eslint src test", "build": "nwb build-react-component", "clean": "nwb clean-module && nwb clean-demo", "test": "nwb test-react", "travis": "npm run lint && npm run test", "prepublish": "npm run lint && npm run test && npm run build" }, "eslintConfig": { "parser": "babel-eslint", "env": { "browser": true, "node": true, "jest": true }, "plugins": [ "react" ], "extends": [ "eslint:recommended", "plugin:react/recommended" ] }, "peerDependencies": { "react": "15.x || ^16.0.0-rc" }, "devDependencies": { "babel-eslint": "^8.0.0", "eslint": "^4.7.2", "eslint-plugin-react": "^7.3.0", "nwb": "^0.18.10", "prettier": "^1.7.0", "react": "^15.6.1", "react-dom": "^15.6.1" }, "dependencies": { "prop-types": "^15.5.10" } }