UNPKG

greip-node

Version:

Official Node.js library for Greip API

77 lines (76 loc) 2.05 kB
{ "name": "greip-node", "version": "1.2.9", "description": "Official Node.js library for Greip API", "author": { "name": "Greip", "email": "info@greip.io", "url": "https://greip.io" }, "main": "dist/cjs/index.cjs.js", "types": "dist/cjs/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.mjs.js", "require": "./dist/cjs/index.cjs.js" } }, "scripts": { "build:cjs": "tsc --project tsconfig.cjs.json", "build:esm": "tsc --project tsconfig.esm.json", "build": "npm run build:cjs && npm run build:esm", "tsc": "tsc --pretty --watch", "test": "jest", "test --watch": "jest --watchAll", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.cjs.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "license": "Apache-2.0", "keywords": [ "Greip", "ip", "api", "geolocation", "geoip", "fraud prevention", "abuse", "ai", "asn", "iban" ], "files": [ "/dist" ], "prepublish": "tsc", "repository": { "type": "git", "url": "https://github.com/Greipio/node.git" }, "bugs": { "url": "https://github.com/Greipio/node/issues", "emsail": "info@greip.io" }, "homepage": "https://greip.io/", "engines": { "node": ">=10" }, "devDependencies": { "@types/jest": "^29.5.3", "@types/node": "^18.15.0", "dotenv": "^8.6.0", "jest": "^29.6.2", "prettier": "^2.4.1", "ts-jest": "^29.1.1", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^5.1.6" }, "dependencies": { "axios": "^1.9.0" } }