-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
79 lines (79 loc) · 2.11 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
{
"author": "Thomas Parisot (https://thom4.net)",
"name": "tldjs",
"description": "JavaScript API to work against complex domain names, subdomains and URIs.",
"version": "2.3.1",
"homepage": "https://github.com/thom4parisot/tld.js",
"repository": {
"type": "git",
"url": "git://github.com/thom4parisot/tld.js.git"
},
"bugs": {
"url": "https://github.com/thom4parisot/tld.js/issues"
},
"engines": {
"node": ">= 20"
},
"main": "index.js",
"license": "MIT",
"scripts": {
"benchmark": "node ./bin/benchmark.js",
"generate-changelog": "github-changes -o thom4parisot -r 'tld.js' -n ${npm_package_version} --only-pulls --use-commit-body",
"lint": "eslint ./lib",
"postinstall": "node ./bin/postinstall.js",
"posttest": "npm run lint",
"prepack": "npm run build && npm run build-min",
"prepublish": "npm run update",
"test": "nyc mocha -R dot -r env-test",
"test-watch": "mocha -R dot -r env-test --watch",
"update": "node ./bin/update.js",
"version": "npm run generate-changelog && git add CHANGELOG.md",
"prebuild": "npm run update",
"build": "browserify index.js --s tldjs > tld.js",
"prebuild-min": "npm run update",
"build-min": "browserify index.js --s tldjs | uglifyjs -c > tld.min.js"
},
"tldjs": {
"providers": {
"publicsuffix-org": "https://publicsuffix.org/list/effective_tld_names.dat"
}
},
"nyc": {
"check-coverage": true,
"reporter": [
"html",
"lcov",
"text"
]
},
"dependencies": {
"punycode": "^2.0.0"
},
"devDependencies": {
"benchmark": "^2.1.4",
"browserify": "^17.0.1",
"env-test": "^1.0.0",
"eslint": "^4.18.2",
"expect.js": "^0.3.1",
"github-changes": "^2.0.3",
"mocha": "^10.7.3",
"nyc": "^17.1.0",
"uglify-js": "^3.1.9"
},
"keywords": [
"tld",
"sld",
"domain",
"browser",
"uri",
"url",
"domain name",
"subdomain",
"public suffix"
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/tldjs",
"logo": "https://opencollective.com/opencollective/logo.txt"
}
}