@fmal/http-service

v3.0.5
A HTTP service - orignally @cerebral/http
cerebral cerebraljs http

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
npm i @fmal/http-service

Metadata

Downloads

Maintainers