UNPKG

@mornya/restful-libs

Version:

The project of wrapped library for RESTful API processing module.

107 lines (106 loc) 2.69 kB
{ "name": "@mornya/restful-libs", "version": "4.0.3", "description": "The project of wrapped library for RESTful API processing module.", "keywords": [ "mornya", "vessel", "restful", "request", "api", "retry", "cache", "axios", "axios-cancel", "axios-retry", "axios-extensions", "front-end", "back-end" ], "homepage": "https://github.com/mornya-libs/mornya-restful-libs", "bugs": "https://github.com/mornya-libs/mornya-restful-libs/issues", "license": "ISC", "author": "mornya <mornya78@gmail.com>", "private": false, "repository": { "type": "git", "url": "git+https://github.com/mornya-libs/mornya-restful-libs.git" }, "main": "./dist/index.js", "module": "./esm/index.js", "types": "./dist", "scripts": { "setup": "husky && lintest install || exit 0", "prepublishOnly": "vessel prepublish && vessel build && vessel build --esm", "login": "vessel login", "clean": "vessel clean", "build": "vessel build", "build:esm": "vessel build --esm", "watch": "vessel build --watch", "format": "prettier --write --ignore-path .prettierignore ./src ./types", "check": "vessel check", "init": "lintest uninstall && lintest export", "lint": "lintest lint", "lint:fix": "lintest lint --fix", "test": "lintest test", "test:watch": "lintest test --watch", "test:coverage": "lintest test --coverage", "sonar": "sonar-scanner" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "files": [ "dist", "!dist/test", "!dist/**/@setup.d.ts", "!dist/**/@setup.js", "!dist/**/*.test.d.ts", "!dist/**/*.test.js", "esm", "!esm/test", "!esm/**/@setup.d.ts", "!esm/**/@setup.js", "!esm/**/*.test.d.ts", "!esm/**/*.test.js", "CHANGELOG.md", "LICENSE", "README.md" ], "engines": { "node": ">=10", "npm": ">=6" }, "dependencies": { "axios": "^1.10.0", "axios-cache-interceptor": "^1.8.0", "axios-retry": "^4.5.0", "chalk": "^4", "deepmerge": "^4.3.1", "is-plain-object": "^5.0.0" }, "devDependencies": { "@lintest/core": "^1.17.0", "@types/jest": "^29.5.14", "@types/node": "^24.0.3", "eslint": "8.57.1", "husky": "^9.1.7", "lint-staged": "^16.1.2", "prettier": "^3.5.3", "typescript": "^5.8.3" }, "lint-staged": { "*.{css,scss}": [ "prettier --write --ignore-path .prettierignore" ], "*.{ts,tsx}": [ "prettier --write --ignore-path .prettierignore", "lintest check", "lintest lint" ] }, "vessel": { "minVersion": "5.4.0" } }