-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.67 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
{
"name": "micro-geoip-lite",
"version": "1.0.0",
"description": "🌍 An extremely lite geoip decoder utilizing the micro-geoip-lite microservice to geo decode the IP info via an https request - the microservice utilizes MaxMind's IP info dataset.",
"author": {
"name": "Ahmed Tarek",
"email": "ahmed.tokyo1@gmail.com",
"url": "https://github.com/A-Tokyo"
},
"repository": {
"type": "git",
"url": "https://github.com/A-Tokyo/micro-geoip-lite-js.git"
},
"main": "lib/index.js",
"files": [
"lib/"
],
"homepage": "https://github.com/A-Tokyo/micro-geoip-lite-js#readme",
"bugs": {
"url": "https://github.com/A-Tokyo/micro-geoip-lite-js/issues"
},
"scripts": {
"start": "babel-node src/index.js",
"dev": "yarn build --watch",
"build": "rm -rf lib && yarn build:flow && yarn build:js",
"build:js": "babel src --out-dir lib -s --ignore *.test.js,**/*.test.js",
"build:flow": "flow-copy-source -v -i '*.test.js' -i '**/*.test.js' src lib",
"prepublish": "export NODE_ENV=production && yarn build",
"test": "npm run build && yarn jest",
"code-report": "plato -r -n -t \"Code Report\" -x \".((test.js|graphql))|((types.js))\" -d code-report ./src",
"coverage-view": "open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html"
},
"dependencies": {
"ky": "^0.19.0",
"ky-universal": "^0.5.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-flow": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.3.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.11.0",
"flow-bin": "^0.122.0",
"flow-copy-source": "^2.0.6",
"husky": "^4.2.5",
"jest": "^25.3.0",
"jest-cli": "^25.3.0",
"lint-staged": "^10.1.3",
"plato": "^1.7.0",
"prettier": "^2.0.4"
},
"keywords": [
"micro",
"micro service",
"ip",
"geoip",
"geoip-lite",
"country",
"request-country",
"decode",
"lite-weight",
"flow",
"types",
"typed",
"typescript"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && eslint . --fix"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"license": "MIT",
"contributors": [
{
"name": "Ahmed Tarek",
"email": "ahmed.tokyo1@gmail.com",
"url": "https://github.com/A-Tokyo"
}
]
}