-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (80 loc) · 1.92 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (80 loc) · 1.92 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": "iptrace.io",
"version": "1.0.2",
"description": "iptrace.io library: Locate your users, enrich their experiences, prevent fraud, ensure compliance, and so much more.",
"main": "dist/index.js",
"homepage": "https://iptrace.io",
"scripts": {
"start": "babel-node main.js",
"prebuild": "rimraf dist",
"build": "rimraf dist && babel src --out-dir dist",
"lint": "eslint src/**",
"test:watch": "mocha --require @babel/register --watch --watch-extensions js \"test/**/*.js\"",
"test": "mocha --require @babel/register \"test/**/*.js\"",
"prepublish": "npm run lint && npm run test && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "6.10"
},
"modules": "umd"
}
]
]
},
"files": [
"dist"
],
"contributors": [{
"name": "Mohamad Ahmed Omar",
"email": "mohamed.ahmed.c209@gmail.com",
"url": "https://github.com/MuhamadOmr"
}],
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"babel-eslint": "^10.0.1",
"@babel/register": "^7.0.0",
"@babel/node": "^7.2.0",
"eslint": "^5.9.0",
"mocha": "^5.2.0",
"nock": "^10.0.4",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"prettier": "1.15.2",
"rimraf": "^2.6.2",
"tslint": "^5.11.0"
},
"lint-staged": {
"linters": {
"src/**": [
"prettier --write",
"eslint",
"yarn run build"
]
},
"ignore": [
".gitignore",
"node_modules"
]
},
"dependencies": {
"axios": "^0.18.0",
"ip-regex": "2.1.0"
}
}