UNPKG

ts-retrofit

Version:

A declarative and axios based retrofit implementation for JavaScript and TypeScript.

53 lines (52 loc) 1.43 kB
{ "name": "ts-retrofit", "version": "1.19.0", "description": "A declarative and axios based retrofit implementation for JavaScript and TypeScript.", "repository": "https://github.com/nullcc/ts-retrofit", "main": "lib/index.js", "types": "lib/types/index.d.ts", "keywords": [ "retrofit", "ts", "js", "axios" ], "bugs": "https://github.com/nullcc/ts-retrofit/issues", "scripts": { "test": "jest --coverage", "tslint": "tslint -c tslint.json --project . src/**/*.ts test/**/*.test.ts", "build": "tsc", "make-badges": "node_modules/.bin/jest-badges-readme", "prepare": "npm run build", "prepublishOnly": "npm run tslint", "preversion": "npm run tslint", "postversion": "git push && git push --tags" }, "author": "Ethan Zhang", "license": "MIT", "husky": { "hooks": { "pre-commit": "npm test && npm run make-badges && git add README.md" } }, "dependencies": { "axios": "^0.21.1", "form-data": "^2.5.1", "qs": "^6.8.0" }, "devDependencies": { "@olavoparno/jest-badges-readme": "^1.4.0", "@types/express": "^4.17.1", "@types/jest": "^24.0.18", "@types/multer": "^1.3.10", "@types/qs": "^6.5.3", "body-parser": "^1.19.0", "express": "^4.17.1", "husky": "^3.1.0", "jest": "^24.9.0", "multer": "^1.4.2", "ts-jest": "^24.0.2", "tslint": "^5.19.0", "typescript": "^4.9.5" } }