@fmal/http-service
Version:
A HTTP service - orignally @cerebral/http
65 lines • 2.2 kB
JSON
{
"name": "@fmal/http-service",
"version": "3.0.5",
"description": "A HTTP service - orignally @cerebral/http",
"license": "UNLICENSED",
"keywords": [
"cerebral",
"cerebraljs",
"http"
],
"author": "Christian Alfoni <christianalfoni@gmail.com>",
"contributors": [
"Filip Malinowski <filip@fmal.me>"
],
"bugs": {
"url": "https://github.com/fmal/monorepo/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/fmal/monorepo.git",
"directory": "packages/@fmal/http-service"
},
"publishConfig": {
"access": "public"
},
"types": "dist/ts",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"sideEffects": false,
"files": [
"dist",
"src",
"/factories",
"!**/__tests__"
],
"scripts": {
"test": "jest",
"test:coverage": "npm test -- --coverage",
"lint": "eslint . --cache --fix --ext \".js,.ts\" --ignore-path ../../../.prettierignore",
"clean": "rimraf dist coverage ../../node_modules/@fmal/http-service",
"_babel": "babel src -x \".js,.ts\" --root-mode upward",
"prebuild": "npm run clean",
"copy:pkg": "cpy package.json ../../node_modules/@fmal/http-service && cpy factories/package.json ../../node_modules/@fmal/http-service/factories",
"copy:declarations": "cpy src/index.d.ts ../../node_modules/@fmal/http-service/dist/ts && cpy src/factories/index.d.ts ../../node_modules/@fmal/http-service/dist/ts/factories",
"postbuild": "run-p copy:*",
"build:cjs": "cross-env BABEL_ENV=cjs npm run _babel -- -d ../../node_modules/@fmal/http-service/dist/cjs",
"build:es": "cross-env BABEL_ENV=es npm run _babel -- -d ../../node_modules/@fmal/http-service/dist/es",
"build": "cross-env NODE_ENV=production run-p build:*",
"prepublishOnly": "rimraf dist && cpy \"@fmal/http-service/dist/**/*\" .. --cwd=../../node_modules --parents"
},
"dependencies": {
"@babel/runtime": "7.7.7"
},
"devDependencies": {
"@babel/cli": "7.7.7",
"cerebral": "5.2.0",
"cpy-cli": "2.0.0",
"cross-env": "6.0.3",
"eslint": "6.5.1",
"jest": "24.9.0",
"npm-run-all": "4.1.5",
"rimraf": "3.0.0",
"xhr-mock": "2.5.0"
}
}