UNPKG

rest-client-sdk

Version:
111 lines (110 loc) 3.1 kB
{ "name": "rest-client-sdk", "version": "7.2.2", "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": "rimraf dist", "test": "yarn lint --quiet && jest", "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 --ext js,jsx,jsx,ts,tsx src/", "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.9", "deep-diff": "^1.0.2", "urijs": "^1.19.2" }, "devDependencies": { "@babel/core": "^7.10.5", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-object-rest-spread": "^7.10.4", "@babel/preset-env": "^7.10.4", "@babel/preset-typescript": "^7.10.4", "@types/deep-diff": "^1.0.0", "@types/jest": "^26.0.22", "@types/urijs": "^1.19.9", "@typescript-eslint/eslint-plugin": "^3.6.1", "@typescript-eslint/parser": "^3.6.1", "babel-jest": "^25.2.6", "core-js": "^3.6.4", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^2.5.0 || ^1.7.0", "fetch-mock": "^9", "husky": "^4.2.3", "immutable": "^4.0.0-rc.12", "jest": "^25.2.7", "jest-fetch-mock": "^3.0.0", "lint-staged": "^10.1.2", "pluralize": "^8.0.0", "prettier": "^2.0.2", "regenerator-runtime": "^0.13.5", "rimraf": "^3.0.0", "rollup": "^2.3.3", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "typescript": "^3.9.6" }, "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" ] }, "jest": { "automock": false, "setupFilesAfterEnv": [ "./setupJest.js" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "packageManager": "yarn@4.7.0" }