forked from thom4parisot/tld.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.42 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
{
"author": "Thomas Parisot (https://oncletom.io)",
"name": "tldjs",
"description": "JavaScript API to work against complex domain names, subdomains and URIs.",
"version": "2.3.1",
"homepage": "https://github.com/oncletom/tld.js",
"repository": {
"type": "git",
"url": "git://github.com/oncletom/tld.js.git"
},
"bugs": {
"url": "https://github.com/oncletom/tld.js/issues"
},
"engines": {
"node": ">= 4"
},
"main": "index.js",
"license": "MIT",
"scripts": {
"benchmark": "node ./bin/benchmark.js",
"generate-changelog": "github-changes -o oncletom -r 'tld.js' -n ${npm_package_version} --only-pulls --use-commit-body",
"lint": "eslint ./lib",
"postinstall": "node ./bin/postinstall.js",
"posttest": "npm run lint && npm run test-browser",
"prepack": "npm run build && npm run build-min",
"prepublish": "npm run update",
"test": "nyc mocha -R dot -r env-test",
"test-browser": "testling",
"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": [
"text",
"html"
]
},
"testling": {
"files": "test/*.js",
"harness": "mocha-bdd",
"browsers": [
"ie/7..10",
"ff/latest..nightly",
"chrome/latest..canary",
"opera/latest..next",
"safari/6.0",
"iphone/6.0",
"android/4.2"
]
},
"dependencies": {
"punycode": "~1.4.1"
},
"devDependencies": {
"benchmark": "^2.1.4",
"browserify": "^15.2.0",
"env-test": "^1.0.0",
"eslint": "^4.18.2",
"expect.js": "^0.3.1",
"github-changes": "^1.1.2",
"mocha": "^5.0.0",
"nyc": "^11.4.1",
"testling": "^1.7.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"
}
}