Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.79 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@qiwi/consul-service-discovery",
"version": "1.10.6",
"description": "Consul service discovery",
"main": "target/es5/index.js",
"types": "typings/index.d.ts",
"typescript": {
"definition": "typings/index.d.ts"
},
"scripts": {
"lint": "eslint src/**/*.{ts,js}",
"lint:fix": "yarn lint -- --fix",
"jest": "jest -w 2 --config=jest.config.json --silent",
"test": "yarn lint && yarn jest && yarn test:depcheck && yarn test:depaudit",
"pretest": "yarn lint",
"test:deps": "npm-run-all -p -l test:depcheck test:depauditfix",
"test:depcheck": "npm_config_yes=true npx depcheck --ignores tsc-esm-fix,tslib,@types/jest,typedoc,@qiwi/esm,@types/bluebird,bluebird",
"test:depaudit": "yarn audit --level=moderate --groups=dependencies; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npm_config_yes=true npx yarn-audit-fix --audit-level=moderate",
"test:report": "yarn test && yarn coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | coveralls",
"build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:libdef && yarn docs",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
"build:ts": "cp -r src/main/ts target/ts",
"build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json",
"build:esmfix": "yarn tsc-esm-fix --target=target/es6 --target=target/esnext --dirnameVar=false",
"clean": "rm -rf ./target typings flow-typed docs buildcache docs",
"docs": "typedoc",
"postupdate": "yarn && yarn build && yarn test"
},
"keywords": [
"consul",
"consul-client",
"consul-service-discovery"
],
"authors": [
"Anton Golub <golub.anton@gmail.com>",
"Mikhail Dolgikh <wearebear80@gmail.com>"
],
"repository": {
"type": "git",
"url": "git@github.com:qiwi/consul-service-discovery.git"
},
"license": "MIT",
"dependencies": {
"consul": "^0.40.0",
"inside-out-promise": "^2.1.5",
"lodash": "^4.17.21",
"push-it-to-the-limit": "^1.18.5",
"tslib": "^2.5.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@qiwi/substrate": "^2.0.4",
"@qiwi/esm": "^1.1.8",
"@qiwi/libdefkit": "^5.0.0",
"@qiwi/npm-run-all": "^4.1.7",
"@types/bluebird": "^3.5.38",
"@types/consul": "^0.40.0",
"@types/lodash": "^4.14.195",
"@types/jest": "^29.5.2",
"@types/uuid": "^9.0.1",
"bluebird": "^3.7.2",
"coveralls": "^3.1.1",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-qiwi": "^2.1.3",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"typedoc": "^0.24.8",
"typescript": "^4.8.4"
},
"files": [
"README.md",
"CHANGELOG.md",
"target",
"typings",
"flow-typed"
]
}