UNPKG

fitch

Version:

A lightweight Promise based HTTP client, using Fetch API.

72 lines (71 loc) 1.89 kB
{ "name": "fitch", "version": "0.11.0", "description": "A lightweight Promise based HTTP client, using Fetch API.", "keywords": [ "fitch", "fetch", "http", "request", "promise" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/raphaelpor/fitch.js.git" }, "bugs": { "url": "https://github.com/raphaelpor/fitch.js/issues" }, "homepage": "https://github.com/raphaelpor/fitch.js#readme", "main": "dist/index.js", "dependencies": { "fetch-everywhere": "^1.0.5", "lodash.merge": "^4.6.0" }, "devDependencies": { "ava": "^0.22.0", "babel-cli": "^6.18.0", "babel-eslint": "^7.1.0", "babel-loader": "^6.2.7", "babel-preset-es2015": "^6.18.0", "babel-preset-stage-2": "^6.18.0", "eslint": "^4.9.0", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.4.0", "hapi": "^16.6.2", "npm-run-all": "^3.1.1", "nyc": "^11.2.1", "rimraf": "^2.5.4", "webpack": "^1.13.3" }, "scripts": { "build": "npm-run-all --parallel build:*", "build:main": "babel --copy-files --out-dir dist src", "build:umd": "webpack --output-filename index.umd.js --colors", "build:umd.min": "webpack --output-filename index.umd.min.js -p --colors", "check": "npm run lint && npm run test", "clean": "rimraf dist coverage", "coverage": "nyc report npm test", "examples": "node ./examples/index.js", "prebuild": "npm run check && npm run clean", "lint": "eslint src", "start": "node ./examples/api/index.js", "test": "ava", "watch:test": "npm test -- -w" }, "ava": { "files": [ "tests/*.js" ], "source": [ "src/**/*.js" ], "require": [ "babel-register" ], "babel": "inherit" } }