-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
54 lines (54 loc) · 1.38 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
{
"name": "extract-domain",
"version": "5.0.2",
"description": "Extract domain name from URL",
"type": "module",
"source": "index.ts",
"exports": {
"types": "./dist/index.d.ts",
"main": "./dist/extract-domain.module.js",
"default": "./dist/extract-domain.module.js"
},
"main": "./dist/extract-domain.module.js",
"module": "./dist/extract-domain.module.js",
"author": "Bjarne Oeverli",
"license": "MIT",
"scripts": {
"build": "npm run pretty && bunx --bun microbundle -i extractDomain -f esm index.ts",
"test": "bun test tests/",
"test:watch": "bun test --watch tests/",
"pretty": "prettier --tab-width=4 --print-width=100 --single-quote --trailing-comma=es5 --write *.ts *.ts",
"benchmark": "bun run benchmark/benchmark.js"
},
"repository": {
"type": "git",
"url": "https://github.com/bjarneo/extract-domain.git"
},
"homepage": "https://github.com/bjarneo/extract-domain",
"bugs": {
"url": "https://github.com/bjarneo/extract-domain/issues"
},
"keywords": [
"extract",
"domain",
"name",
"parse",
"get",
"fetch",
"string",
"url",
"browser",
"node"
],
"devDependencies": {
"@types/psl": "^1.1.0",
"microbundle": "^0.15.1",
"mocha": "^10.2.0",
"nanobench": "^1.0.3",
"prettier": "^1.11.1",
"psl": "^1.9.0"
},
"peerDependencies": {
"psl": "^1.9.0"
}
}