UNPKG

@ideal-postcodes/core-axios

Version:

Axios based client for api.ideal-postcodes.co.uk

127 lines (126 loc) 2.94 kB
{ "name": "@ideal-postcodes/core-axios", "version": "4.1.8", "description": "Axios based client for api.ideal-postcodes.co.uk", "author": { "name": "Ideal Postcodes", "email": "support@ideal-postcodes.co.uk", "url": "https://ideal-postcodes.co.uk" }, "bugs": { "url": "https://github.com/ideal-postcodes/core-axios/issues", "email": "support@ideal-postcodes.co.uk" }, "homepage": "https://github.com/ideal-postcodes/core-axios", "repository": { "type": "git", "url": "https://github.com/ideal-postcodes/core-axios.git" }, "main": "dist/index.js", "types": "dist/index.d.ts", "module": "esm/index.js", "scripts": { "semantic-release": "semantic-release", "test:watch": "NODE_ENV=test mocha --watch", "test:nock:reload": "NODE_ENV=test RECORD=true mocha", "test": "NODE_ENV=test nyc mocha", "lint": "eslint lib/**/*.ts", "build": "tsc && tsc -p tsconfig.esm.json", "coverage": "nyc report --reporter=text-lcov > coverage.lcov", "prepublishOnly": "npm run test && npm run build" }, "files": [ "dist", "esm" ], "browserslist": [ "ie 11", "last 2 versions" ], "prettier": { "editorconfig": true, "trailingComma": "es5" }, "nyc": { "include": [ "lib/**/*.ts", "generate/**/*.ts" ], "exclude": [ "dist/*", "**/*.d.ts", "generate/index.ts" ], "extension": [ ".ts", ".tsx" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary", "html" ], "all": true }, "mocha": { "extension": [ "ts" ], "exit": true, "fullTrace": true, "require": [ "ts-node/register", "source-map-support/register" ] }, "engines": { "node": ">=10.0" }, "keywords": [ "API", "Node.js", "Axios", "UK", "Address", "Postcode", "Search", "Ideal Postcodes" ], "publishConfig": { "access": "public", "provenance": true }, "license": "MIT", "dependencies": { "@ideal-postcodes/core-interface": "~3.2.1", "axios": "~1.16.0" }, "devDependencies": { "@cablanchard/tsconfig": "2.0.0", "@ideal-postcodes/api-fixtures": "~1.3.0", "@ideal-postcodes/api-typings": "~2.1.0", "@types/chai": "~4.3.0", "@types/mocha": "~10.0.7", "@types/nock": "~11.1.0", "@types/node": "~24.4.0", "@types/prettier": "~3.0.0", "@types/sinon": "~17.0.2", "chai": "~6.0.1", "codecov": "~3.8.3", "mocha": "~11.7.2", "nock": "14.0.10", "nyc": "~17.1.0", "prettier": "~3.6.2", "@semantic-release/changelog": "~6.0.3", "@semantic-release/git": "~10.0.1", "@semantic-release/github": "~12.0.2", "@semantic-release/npm": "~13.1.3", "semantic-release": "~25.0.2", "sinon": "~21.0.0", "source-map-support": "~0.5.21", "ts-node": "~10.9.2", "typescript": "~5.9.2" } }