/
package.json
138 lines (138 loc) · 3.18 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "unleash-client",
"version": "5.5.2",
"description": "Unleash Client for Node",
"license": "Apache-2.0",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"scripts": {
"version": "./scripts/update-build-details.sh $npm_package_version",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pre-commit": "lint-staged",
"prebuild": "del-cli --force lib",
"build": "tsc -p .",
"prepare": "husky install && yarn run build",
"test": "cross-env NODE_ENV=test yarn run build && ava",
"coverage": "nyc --reporter=lcov yarn test"
},
"repository": {
"type": "git",
"url": "ssh://git@github.com:Unleash/unleash-client-node.git"
},
"keywords": [
"unleash",
"client",
"feature toggle"
],
"bugs": {
"url": "https://github.com/Unleash/unleash-client-node/issues"
},
"homepage": "https://github.com/Unleash/unleash-client-node",
"dependencies": {
"ip": "^2.0.1",
"make-fetch-happen": "^12.0.0",
"murmurhash3js": "^3.0.1",
"semver": "^7.5.3"
},
"engines": {
"node": ">=16"
},
"files": [
"lib",
"!lib/test",
"examples"
],
"devDependencies": {
"@ava/babel": "^2.0.0",
"@ava/typescript": "^4.0.0",
"@tsconfig/node12": "^12.0.0",
"@types/express": "^4.17.17",
"@types/ip": "^1.1.0",
"@types/make-fetch-happen": "^10.0.1",
"@types/murmurhash3js": "^3.0.3",
"@types/nock": "^11.1.0",
"@types/node": "^20.2.5",
"@types/semver": "^7.5.0",
"@types/sinon": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@unleash/client-specification": "^5.1.4",
"ava": "^5.3.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.44.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"esm": "^3.2.25",
"husky": "^8.0.3",
"lint-staged": "^14.0.0",
"mkdirp": "^3.0.1",
"nock": "^13.3.1",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"redis": "^4.6.7",
"sinon": "^18.0.0",
"typescript": "^5.1.3"
},
"resolutions": {
"ansi-regex": "^5.0.1",
"debug": "^4.0.0",
"ip": "^2.0.1",
"json-schema": "^0.4.0",
"json5": "^2.0.0",
"qs": "^6.5.3",
"minimatch": "^3.0.5",
"semver": "^7.5.3"
},
"nyc": {
"lines": 95,
"statements": 95,
"functions": 95,
"branches": 80,
"include": [
"lib/**.js",
"lib/**/*.js"
],
"all": true,
"exclude-after-remap": false
},
"prettier": {
"printWidth": 100,
"proseWrap": "always",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 2
}
}
]
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
],
"*.{md,json}": [
"prettier --write"
]
},
"ava": {
"typescript": {
"rewritePaths": {
"src/": "lib/"
},
"compile": false
},
"files": [
"src/**/*.test.ts"
]
}
}