/
package.json
79 lines (79 loc) · 2.35 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
{
"name": "@maxmind/geoip2-node",
"version": "2.2.0",
"description": "Node.js API for GeoIP2 webservice client and database reader",
"main": "dist/src/index.js",
"homepage": "https://github.com/maxmind/GeoIP2-node",
"repository": {
"type": "git",
"url": "https://github.com/maxmind/GeoIP2-node.git"
},
"author": "MaxMind",
"license": "Apache-2.0",
"private": false,
"keywords": [
"geoip",
"geoip2",
"geoip precision",
"geoip2 precision",
"geolite",
"geolite2",
"maxmind",
"maxminddb",
"mmdb"
],
"files": ["dist"],
"types": "dist/src/index.d.ts",
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/lodash.set": "^4.3.4",
"@types/node": "^14.0.5",
"gh-pages": "^3.0.0",
"husky": "5",
"jest": "^26.5.0",
"lint-staged": "^10.0.0",
"lodash": "^4.17.11",
"nock": "^13.0.2",
"np": "^7.0.0",
"pinst": "^2.1.4",
"prettier": "^2.0.3",
"ts-jest": "^26.4.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0",
"tslint-eslint-rules": "^5.4.0",
"typedoc": "^0.20.16",
"typescript": "^4.0.3"
},
"lint-staged": {
"*.json": ["prettier --parser json --write"],
"*.ts": [
"prettier --parser typescript --single-quote true --trailing-comma es5 --write",
"tslint -p tsconfig.lint.json -t stylish"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "rimraf dist && tsc",
"build:docs": "rimraf docs && typedoc src/index.ts --out docs --exclude \"**/*.spec.ts\" --readme README.md && ./bin/sanitize-doc-refs.sh",
"deploy:docs": "gh-pages -d docs",
"lint": "tslint -p ./tsconfig.lint.json -t stylish",
"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'",
"release": "yarn build && np",
"test": "jest",
"test:watch": "jest --watch",
"version": "yarn build:docs && yarn deploy:docs",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"dependencies": {
"camelcase-keys": "^6.0.1",
"ip6addr": "^0.2.3",
"lodash.set": "^4.3.2",
"maxmind": "^4.2.0"
}
}