UNPKG

request-pre

Version:

process format data before request send

50 lines (49 loc) 1.11 kB
{ "name": "request-pre", "version": "0.4.3", "description": "process format data before request send", "scripts": { "test": "jest", "watch": "npm t -- --watch", "coverage": "jest --coverage", "lint": "eslint src --fix --ext .ts", "lib": "tsc", "dev": "tsc -w", "prepublishOnly": "npm run lib && git add ." }, "main": "dist/lib/index.js", "module": "dist/lib/index.js", "typings": "dist/types/index.d.ts", "keywords": [ "axios", "pre", "request", "ajax" ], "author": "zhangsanshi", "license": "MIT", "devDependencies": { "@types/jest": "^25.2.3", "@typescript-eslint/eslint-plugin": "^1.13.0", "@typescript-eslint/parser": "^1.13.0", "eslint": "^6.8.0", "husky": "^3.0.1", "jest": "^25.5.4", "lint-staged": "^9.2.0", "ts-jest": "^25.5.1", "typescript": "^3.9.5" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "{src,test}/**/*.ts": [ "eslint --fix", "npm run test -- --passWithNoTests", "git add" ] }, "dependencies": {} }