-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.18 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
82
{
"name": "ip-range-list",
"version": "1.0.0",
"description": "A fast IP address range list for allowlist or blocklist checks.",
"keywords": [
"ip",
"ipv4",
"ipv6",
"cidr",
"subnet",
"ip-range",
"ip-address",
"allowlist",
"blocklist"
],
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/jsdelivr/ip-range-list.git"
},
"bugs": {
"url": "https://github.com/jsdelivr/ip-range-list/issues"
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/bundle.d.cts",
"default": "./dist/cjs/bundle.cjs"
},
"default": "./dist/umd/bundle.js"
}
},
"main": "./dist/cjs/bundle.cjs",
"module": "./dist/esm/index.js",
"jsdelivr": "./dist/umd/bundle.min.js",
"types": "./dist/umd/bundle.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=20.6.0"
},
"scripts": {
"build": "rm -rf dist && npm run build:esm && npm run build:bundle && npm run build:umd:minify",
"build:esm": "tsc",
"build:bundle": "rollup --config",
"build:umd:minify": "terser dist/umd/bundle.js --output dist/umd/bundle.min.js --source-map 'content=dist/umd/bundle.js.map,url=bundle.min.js.map'",
"test": "npm run lint && npm run test:unit",
"test:unit": "mocha",
"test:dist": "node test/dist.js",
"benchmark:prepare": "npm run build && node benchmark/download-data.js",
"benchmark:run": "node benchmark/benchmark.js",
"benchmark": "npm run --silent benchmark:prepare && npm run --silent benchmark:run",
"lint": "npm run lint:js && npm run lint:types",
"lint:fix": "npm run lint:js:fix && npm run lint:types",
"lint:js": "eslint .",
"lint:js:fix": "eslint --fix .",
"lint:types": "tsc --noEmit"
},
"devDependencies": {
"@martin-kolarik/eslint-config": "^9.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@tsconfig/strictest": "^2.0.8",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.43",
"chai": "^6.2.2",
"eslint": "^10.6.0",
"mocha": "^11.7.6",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"terser": "^5.48.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
}
}