UNPKG

@hmcts/os-places-client

Version:

Ordnance Survey address lookup client (https://apidocs.os.uk/docs/os-places-postcode)

63 lines (62 loc) 1.75 kB
{ "name": "@hmcts/os-places-client", "version": "1.1.7", "description": "Ordnance Survey address lookup client (https://apidocs.os.uk/docs/os-places-postcode)", "license": "MIT", "repository": "https://github.com/hmcts/os-places-client-node", "files": [ "lib" ], "main": "lib/index.js", "typings": "lib/index.d.ts", "scripts": { "clean": "rimraf lib && rimraf coverage", "format": "prettier --write \"{src,__tests__}/**/*.ts\" --single-quote --trailing-comma es5", "lint": "tslint --project tsconfig.json --format verbose", "prebuildOnly": "yarn clean && yarn format && yarn lint && echo Using TypeScript && tsc --version", "build": "tsc --pretty", "test": "jest", "coverage": "jest --coverage", "watch": "yarn build --watch", "watch:test": "jest --watch" }, "dependencies": { "request": "^2.83.0", "request-promise-native": "^1.0.5" }, "devDependencies": { "@types/jest": "^21.1.8", "@types/nock": "^8.2.1", "@types/node": "^8.0.0", "@types/request-promise-native": "^1.0.10", "@types/supertest": "^2.0.4", "jest": "^21.2.1", "nock": "^9.1.4", "prettier": "^1.5.2", "rimraf": "^2.0.0", "sinon": "^4.1.2", "supertest": "^3.0.0", "ts-jest": "^21.2.4", "ts-node": "^3.2.0", "tslint": "^5.0.0", "tslint-config-prettier": "^1.1.0", "typescript": "^2.3.0" }, "engines": { "node": ">=8.0.0" }, "jest": { "transform": { ".(ts)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$", "moduleFileExtensions": [ "ts", "js" ], "testEnvironment": "node" }, "publishConfig": { "access": "public" } }