|
| 1 | +{ |
| 2 | + "name": "react-router-fetch", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Calls fetch on matched route components and returns a promise", |
| 5 | + "main": "lib/index.js", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://github.com/kellyrmilligan/react-router-fetch.git" |
| 9 | + }, |
| 10 | + "scripts": { |
| 11 | + "build": "npm-run-all clean standard babel", |
| 12 | + "babel": "babel src -d . -D -s", |
| 13 | + "babel:watch": "babel src -d . -w -D -s", |
| 14 | + "clean": "rimraf ./lib", |
| 15 | + "dev": "npm-run-all clean standard --parallel babel:watch standard:watch", |
| 16 | + "prepublish": "npm run build", |
| 17 | + "standard": "standard --fix", |
| 18 | + "standard:watch": "onchange 'src/**/*.js' -- npm run standard", |
| 19 | + "test": "cross-env NODE_ENV=test standard && jest", |
| 20 | + "test:watch": "npm run test -- --watch" |
| 21 | + }, |
| 22 | + "author": "Kelly Milligan", |
| 23 | + "license": "ISC", |
| 24 | + "jest": { |
| 25 | + "testPathDirs": [ |
| 26 | + "src" |
| 27 | + ], |
| 28 | + "moduleDirectories": [ |
| 29 | + "node_modules", |
| 30 | + "src" |
| 31 | + ], |
| 32 | + "moduleFileExtensions": [ |
| 33 | + "js", |
| 34 | + "json" |
| 35 | + ], |
| 36 | + "coverageDirectory": "coverage", |
| 37 | + "collectCoverage": true, |
| 38 | + "testRegex": "(/__tests__/.*|\\.(test))\\.js$", |
| 39 | + "coverageThreshold": { |
| 40 | + "global": { |
| 41 | + "branches": 75, |
| 42 | + "functions": 75, |
| 43 | + "lines": 75, |
| 44 | + "statements": 75 |
| 45 | + } |
| 46 | + }, |
| 47 | + "coveragePathIgnorePatterns": [ |
| 48 | + "/node_modules/", |
| 49 | + "/fixtures/", |
| 50 | + "/script/" |
| 51 | + ] |
| 52 | + }, |
| 53 | + "standard": { |
| 54 | + "parser": "babel-eslint" |
| 55 | + }, |
| 56 | + "dependencies": { |
| 57 | + }, |
| 58 | + "peerDependencies": { |
| 59 | + "react-router": "^2.0.0 || ^3.0.0" |
| 60 | + }, |
| 61 | + "devDependencies": { |
| 62 | + "babel-cli": "^6.11.4", |
| 63 | + "babel-core": "^6.6.4", |
| 64 | + "babel-eslint": "^6.1.2", |
| 65 | + "babel-jest": "^15.0.0", |
| 66 | + "babel-plugin-add-module-exports": "^0.2.1", |
| 67 | + "babel-preset-react": "^6.16.0", |
| 68 | + "babel-preset-latest": "^6.16.0", |
| 69 | + "babel-preset-stage-2": "^6.18.0", |
| 70 | + "babel-runtime": "^6.11.6", |
| 71 | + "cross-env": "^2.0.1", |
| 72 | + "jest": "^15.1.1", |
| 73 | + "nodemon": "^1.9.0", |
| 74 | + "npm-run-all": "^1.5.1", |
| 75 | + "onchange": "^3.0.2", |
| 76 | + "react-router": "^3.0.0", |
| 77 | + "rimraf": "^2.5.4", |
| 78 | + "source-map-support": "^0.4.0", |
| 79 | + "standard": "^8.5.0" |
| 80 | + } |
| 81 | +} |
0 commit comments