-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
71 lines (71 loc) · 2.24 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
{
"name": "@maxmind/minfraud-api-node",
"version": "7.1.0-beta.1",
"description": "Node.js API for MaxMind minFraud Score, Insights, and Factors web services",
"main": "dist/src/index.js",
"homepage": "https://github.com/maxmind/minfraud-api-node",
"repository": {
"type": "git",
"url": "git+https://github.com/maxmind/minfraud-api-node.git"
},
"author": "MaxMind",
"license": "Apache-2.0",
"private": false,
"keywords": [
"maxmind",
"minfraud",
"minfraud score",
"minfraud insights",
"minfraud factors"
],
"files": ["dist"],
"types": "dist/src/index.d.ts",
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/jest": "^29.2.0",
"@types/node": "^22.1.0",
"@types/validator": "^13.0.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.0.0",
"gh-pages": "^6.0.0",
"globals": "^15.9.0",
"husky": "^9.0.7",
"jest": "^29.5.0",
"lint-staged": "^15.0.1",
"nock": "^13.0.2",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"typedoc": "^0.26.3",
"typescript": "^5.0.2",
"typescript-eslint": "^8.5.0"
},
"lint-staged": {
"*.json": ["prettier --parser json --write"],
"*.ts": [
"prettier --parser typescript --single-quote true --trailing-comma es5 --write",
"npx eslint . --fix --max-warnings=0"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rm -rf dist && tsc",
"build:docs": "rm -rf docs && typedoc src/index.ts --out docs --exclude \"**/*.spec.ts\" --readme README.md",
"deploy:docs": "gh-pages -d docs",
"lint": "npx eslint . --max-warnings=0",
"prettier:ts": "prettier --parser typescript --single-quote true --trailing-comma es5 --write 'src/**/*.ts'",
"prettier:ci": "prettier --parser typescript --single-quote true --trailing-comma es5 --list-different 'src/**/*.ts'",
"prettier:json": "prettier --parser json --write '**/*.json'",
"test": "jest",
"test:watch": "jest --watch",
"setup": "husky install",
"prepublishOnly": "npm run build && npm run test && npm run lint && npm run build:docs && npm run deploy:docs"
},
"dependencies": {
"@maxmind/geoip2-node": "^5.0.0",
"maxmind": "^4.1.0",
"punycode": "^2.1.1",
"validator": "^13.0.0"
}
}