UNPKG

redux-first-router

Version:

think of your app in states not routes (and, yes, while keeping the address bar in sync)

107 lines (106 loc) 3.72 kB
{ "name": "redux-first-router", "version": "2.1.5", "description": "think of your app in states not routes (and, yes, while keeping the address bar in sync)", "main": "dist/index.js", "module": "dist/es", "engines": { "node": ">=6.0.0" }, "scripts": { "build": "babel src -d dist", "build:es": "BABEL_ENV=es babel src -d dist/es", "build:umd": "BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js -o dist/redux-first-router.js", "build:umd:min": "BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js -o dist/redux-first-router.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": "npm run flow-copy && flow; test $? -eq 0 -o $? -eq 2", "clean": "rimraf dist && mkdir dist && rimraf coverage", "test": "jest", "lint": "eslint --fix ./", "format": "prettier --single-quote --parser=flow --semi=false --write '{src,__tests__,__test-helpers__}/**/*.js' && npm run lint", "cm": "git-cz", "semantic-release": "npx semantic-release", "standard-version": "node_modules/.bin/standard-version", "local-semantic-release": "git checkout master; git pull origin master && npm run standard-version && git push --follow-tags origin master && npm publish", "prepublishOnly": "npm run clean && npm run build && npm run flow-copy && npm run build:umd && npm run build:umd:min && npm run build:es" }, "repository": { "type": "git", "url": "https://github.com/faceyspacey/redux-first-router.git" }, "author": "James Gillmore <james@faceyspacey.com>", "maintainers": [ "Zack Jackson <zack@ScriptedAlchemy.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/faceyspacey/redux-first-router/issues" }, "homepage": "https://github.com/faceyspacey/redux-first-router#readme", "dependencies": { "rudy-history": "^1.0.0", "rudy-match-path": "^0.3.0" }, "devDependencies": { "babel-cli": "^6.23.0", "babel-core": "^6.24.0", "babel-eslint": "^7.2.3", "babel-loader": "^7.0.0", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-preset-env": "^1.7.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.82.0", "flow-copy-source": "^2.0.2", "husky": "^0.13.2", "jest": "^21.1.0", "lint-staged": "^3.4.0", "prettier": "^1.2.2", "query-string": "^4.3.4", "redux": "^3.6.0", "redux-thunk": "^2.2.0", "rimraf": "^2.5.4", "semantic-release": "^15.9.17", "snyk": "^1.100.1", "standard-version": "^4.4.0", "travis-github-status": "^1.5.4", "uglifyjs-webpack-plugin": "^2.0.1", "webpack": "4.20.2", "webpack-cli": "^3.1.2" }, "peerDependencies": { "redux": "*" }, "jest": { "verbose": true, "silent": true, "testURL": "http://localhost:3000", "setupTestFrameworkScriptFile": "./__test-helpers__/setupJest.js", "moduleFileExtensions": [ "js" ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.js": [ "prettier --single-quote --parser=flow --semi=false --write", "eslint --fix", "git add" ] } }