UNPKG

rudy-match-path

Version:

link to URL path matching borrowed from React Router

84 lines 2.92 kB
{ "name": "rudy-match-path", "version": "0.3.0", "description": "link to URL path matching borrowed from React Router", "main": "dist/index.js", "scripts": { "build": "babel src -d dist", "build:umd": "BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/rudy-match-path.js", "build:umd:min": "BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/rudy-match-path.min.js", "flow-copy": "flow-copy-source src dist", "flow-watch": "clear; printf \"\\033[3J\" & npm run flow & fswatch -o ./ | xargs -n1 -I{} sh -c 'clear; printf \"\\033[3J\" && npm run flow'", "flow": "flow; test $? -eq 0 -o $? -eq 2", "test": "jest", "clean": "rimraf dist && mkdir dist", "lint": "eslint --fix ./", "format": "prettier --single-quote --parser=flow --semi=false --write '{src,__tests__,__test-helpers__}/**/*.js' && npm run lint", "precommit": "lint-staged --verbose && npm test", "cm": "git-cz", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "prepublish": "npm run clean && npm run build && npm run flow-copy && npm run build:umd && npm run build:umd:min" }, "repository": { "type": "git", "url": "https://github.com/faceyspacey/rudy-match-path.git" }, "keywords": [ "rudy", "redux-first-router", "react-router", "url", "path", "match" ], "author": "James FaceySpacey Gillmore <james@faceyspacey.com> (http://www.faceyspacey.com/)", "license": "MIT", "bugs": { "url": "https://github.com/faceyspacey/rudy-match-path/issues" }, "homepage": "https://github.com/faceyspacey/rudy-match-path#readme", "devDependencies": { "babel-cli": "^6.23.0", "babel-eslint": "^7.2.3", "babel-loader": "^7.0.0", "babel-plugin-flow-react-proptypes": "^3.4.1", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-preset-es2015": "^6.24.1", "babel-preset-flow": "^6.23.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "commitizen": "^2.9.6", "cz-conventional-changelog": "^2.0.0", "eslint": "^3.19.0", "eslint-config-airbnb": "^14.1.0", "eslint-plugin-flowtype": "^2.32.1", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-react": "^6.10.3", "flow-bin": "^0.49.1", "flow-copy-source": "^1.1.0", "husky": "^0.14.1", "jest": "^20.0.4", "lint-staged": "^4.0.0", "prettier": "^1.5.2", "rimraf": "^2.5.4", "semantic-release": "^6.3.6", "travis-github-status": "^1.5.4", "webpack": "^3.0.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.js": [ "prettier --single-quote --parser=flow --semi=false --write", "eslint --fix", "git add" ] }, "dependencies": { "path-to-regexp": "^1.7.0" } }