-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
55 lines (55 loc) · 1.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"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"
}
}