-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
95 lines (95 loc) · 2.06 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": "@chainsafe/is-ip",
"version": "2.1.0",
"description": "Check if a string is an IP address",
"type": "module",
"files": [
"lib",
"src"
],
"exports": {
".": {
"node": "./lib/is-ip.node.js",
"import": "./lib/is-ip.js"
},
"./parse": {
"import": "./lib/parse.js"
},
"./parser": {
"import": "./lib/parser.js"
}
},
"typesVersions": {
"*": {
"*": [
"*",
"lib/*",
"lib/*/index"
]
}
},
"types": "./lib/is-ip.d.ts",
"scripts": {
"check-types": "tsc --noEmit",
"bench": "ts-node-esm ./node_modules/.bin/benchmark bench/**/*.test.ts",
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "yarn build",
"lint": "eslint --color --ext .ts src/ test/ bench/",
"test": "mocha test/**/*.test.ts",
"test:chrome": "playwright-test --runner mocha test/**/*.test.ts"
},
"pre-push": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/is-ip.git"
},
"keywords": [
"ip",
"ipv6",
"ipv4",
"regex",
"regexp",
"match",
"test",
"find",
"text",
"pattern",
"internet",
"protocol",
"address",
"validate",
"detect",
"check",
"is",
"string"
],
"author": "ChainSafe Systems",
"license": "MIT",
"bugs": {
"url": "https://github.com/ChainSafe/is-ip/issues"
},
"homepage": "https://github.com/ChainSafe/is-ip#readme",
"devDependencies": {
"@chainsafe/eslint-plugin-node": "^11.2.3",
"@dapplion/benchmark": "^0.2.2",
"@types/chai": "^4.2.0",
"@types/eslint": "^6.1.3",
"@types/mocha": "^8.0.3",
"@types/node": "^18.11.7",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"chai": "^4.3.6",
"eslint": "^8.17.0",
"eslint-plugin-prettier": "^4.0.0",
"is-ip": "^5.0.0",
"karma": "^4.3.0",
"mocha": "^10.0.0",
"nyc": "^14.1.1",
"playwright-test": "^12.1.1",
"prettier": "^2.6.2",
"ts-node": "^10.8.1",
"typescript": "^4.7.3"
}
}