UNPKG

rest-client-sdk

Version:
96 lines (95 loc) 2.73 kB
{ "name": "rest-client-sdk", "version": "7.4.0", "description": "Rest Client SDK for API", "type": "module", "exports": { ".": { "types": "./dist/types/index.d.ts", "default": "./dist/index.mjs" } }, "main": "dist/index.cjs", "types": "dist/types/index.d.ts", "files": [ "dist" ], "scripts": { "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"", "test": "yarn lint --quiet && vitest", "build": "yarn clean && yarn build:types && yarn build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "rollup -c", "check:src": "npm run test", "prepublishOnly": "npm run clean && npm run check:src && npm run build", "lint": "yarn lint:types && yarn lint:eslint", "lint:eslint": "eslint src/ __tests__/", "lint:types": "tsc --noEmit", "version": "sed -i \"s/current_version = .*/current_version = $npm_package_version/\" .bumpversion.cfg && git add .bumpversion.cfg" }, "dependencies": { "@types/urijs": "^1.19.26", "deep-diff": "^1.0.2", "urijs": "^1.19.11" }, "devDependencies": { "@babel/core": "^7.29.7", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.29.7", "@babel/preset-typescript": "^7.29.7", "@eslint/js": "^10.0.1", "@types/deep-diff": "^1.0.5", "@types/urijs": "^1.19.26", "@typescript-eslint/eslint-plugin": "^8.62.0", "@typescript-eslint/parser": "^8.62.0", "eslint": "^10.6.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "globals": "^14.0.0", "husky": "^4.3.8", "immutable": "^5.1.8", "lint-staged": "^10.5.4", "metch-fock": "^1.3.1", "pluralize": "^8.0.0", "prettier": "^3.9.1", "rollup": "^4.62.2", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "typescript": "^6.0.3", "vitest": "^4.1.9" }, "optionalDependencies": { "pluralize": "^8.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/mapado/rest-client-js-sdk.git" }, "keywords": [ "Rest", "SDK", "API" ], "author": "Mapado", "license": "MIT", "bugs": { "url": "https://github.com/mapado/rest-client-js-sdk/issues" }, "homepage": "https://github.com/mapado/rest-client-js-sdk#readme", "publishConfig": { "registry": "https://registry.npmjs.org" }, "lint-staged": { "*.{js,jsx,json,md}": [ "yarn run prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "packageManager": "yarn@4.7.0" }