UNPKG

@creditkarma/consul-client

Version:

A client for Hashicorp Consul written in TypeScript

56 lines (55 loc) 2.02 kB
{ "name": "@creditkarma/consul-client", "version": "1.0.0", "description": "A client for Hashicorp Consul written in TypeScript", "main": "dist/main/index.js", "types": "dist/main/index.d.ts", "files": [ "dist/main" ], "keywords": [ "typescript", "hashicorp", "consul" ], "scripts": { "clean": "rimraf dist/", "clean:all": "npm run clean && rimraf node_modules/ package-lock.json", "lint": "eslint --fix './src/**/*.ts'", "format": "prettier --write 'src/**/*.ts'", "docker": "docker-compose up consul &", "docker:kill": "docker-compose kill consul", "prebuild": "npm run clean", "build": "npm run lint && npm run format && tsc", "pretest": "npm run docker:kill && npm run build && npm run docker", "posttest": "npm run docker:kill && rimraf consuldata/*", "test": "wait-on --timeout 20000 http://localhost:8500 && npm run lint && npm run test:unit && npm run test:integration", "test:unit": "lab --typescript --timeout 10000 --verbose -l -S ./src/tests/unit/*.spec.ts", "test:integration": "lab --typescript --timeout 15000 --verbose -l -S ./src/tests/integration/*.spec.ts" }, "author": "Credit Karma", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/creditkarma/consul-client" }, "devDependencies": { "@hapi/code": "^9.0.0", "@hapi/lab": "^25.0.1", "@types/node": "^16.11.34", "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", "eslint": "^8.15.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "prettier": "^2.6.2", "rimraf": "^3.0.2", "typescript": "4.6.x", "wait-on": "^6.0.1" }, "dependencies": { "@types/lodash": "^4.14.136", "got": "^11.8.3", "lodash": "^4.17.15" } }