UNPKG

apisauce

Version:

Axios + standardized errors + request/response transforms.

70 lines (69 loc) 1.66 kB
{ "author": "Steve Kellock <steve@kellock.ca>", "ava": { "require": [ "babel-core/register" ] }, "dependencies": { "axios": "^0.18.0", "ramda": "^0.25.0" }, "description": "Axios + standardized errors + request/response transforms.", "devDependencies": { "@types/ramda": "^0.25.28", "ava": "^0.25.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-eslint": "^8.2.3", "babel-plugin-ramda": "^1.6.1", "babel-preset-es2015": "^6.24.1", "np": "^2.20.1", "npm-run-all": "^4.1.3", "nyc": "^11.8.0", "ramdasauce": "^2.1.0", "rollup": "^0.59.1", "rollup-plugin-babel": "^3.0.4", "rollup-plugin-filesize": "^1.5.0", "rollup-plugin-uglify": "^3.0.0", "standard": "^11.0.1", "typescript": "2.8.3" }, "files": [ "dist/apisauce.js", "apisauce.d.ts" ], "keywords": [ "axios", "api", "network", "http" ], "license": "MIT", "main": "./dist/apisauce.js", "name": "apisauce", "repository": { "type": "git", "url": "https://github.com/skellock/apisauce.git" }, "scripts": { "build": "BABEL_ENV=production rollup -c", "clean": "rm -rf dist", "compile": "tsc -p tsconfig.json", "coverage": "nyc ava", "prepare": "npm-run-all compile build", "dist": "npm-run-all clean compile build test", "lint": "standard lib/* test/* rollup.config.js", "test": "npm-run-all compile test:unit", "test:unit": "ava -s" }, "standard": { "parser": "babel-eslint" }, "prettier": { "semi": false, "singleQuote": true }, "types": "./apisauce.d.ts", "version": "0.15.2" }