UNPKG

frest

Version:

REST client for browser with Fetch

106 lines (105 loc) 2.66 kB
{ "name": "frest", "version": "1.2.0", "description": "REST client for browser with Fetch", "license": "Apache-2.0", "main": "dist/frest.cjs.js", "module": "dist/frest.esm.js", "unpkg": "dist/frest.min.js", "typings": "dist/frest.d.ts", "sideEffects": false, "homepage": "https://github.com/panjiesw/frest#readme", "repository": { "type": "git", "url": "git+https://github.com/panjiesw/frest.git" }, "author": { "name": "Panjie Setiawan Wicaksono", "email": "panjie@panjiesw.com", "url": "http://panjiesw.life" }, "bugs": { "url": "https://github.com/panjiesw/frest/issues" }, "keywords": [ "rest", "client", "browser", "fetch", "whatwg-fetch" ], "files": [ "dist/", "src/" ], "scripts": { "build": "run-s clean b:ts b:bundle", "b:bundle": "cross-env NODE_ENV=production rollup -c", "b:ts": "tsc -p tsconfig.build.json", "codecov": "codecov", "clean": "rimraf lib dist coverage *.tsbuildinfo", "test": "jest --coverage" }, "dependencies": { "querystringify": "^2.1.1" }, "devDependencies": { "@babel/cli": "^7.6.4", "@babel/core": "^7.6.4", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/preset-env": "^7.6.3", "@babel/preset-typescript": "^7.6.0", "@types/fetch-mock": "^7.3.1", "@types/jest": "^27.4.0", "@types/node": "^12.7.12", "@types/querystringify": "^2.0.0", "@typescript-eslint/eslint-plugin": "^2.4.0", "@typescript-eslint/parser": "^2.4.0", "babel-eslint": "^10.0.3", "babel-jest": "^27.4.6", "codecov": "^3.6.1", "confusing-browser-globals": "^1.0.9", "cross-env": "^6.0.3", "eslint": "^6.5.1", "eslint-config-prettier": "^6.4.0", "eslint-plugin-prettier": "^3.1.1", "fetch-mock": "^7.5.1", "husky": "^3.0.9", "jest": "^27.4.7", "lint-staged": "^9.4.2", "node-fetch": "^2.6.7", "npm-run-all": "^4.1.5", "prettier": "^1.18.2", "rimraf": "^3.0.0", "rollup": "^1.24.0", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-dts": "1.1.13", "rollup-plugin-filesize": "^6.2.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^5.1.2", "typescript": "^3.9.9", "xhr-mock": "^2.5.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "git add" ] }, "browserslist": [ "> 0.5%", "last 2 versions", "Firefox ESR", "not dead" ], "prettier": { "singleQuote": true, "trailingComma": "all" } }