94 lines
2.4 KiB
JSON
94 lines
2.4 KiB
JSON
{
|
|
"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": "jshint --config .jshintrc lib/**/*.js",
|
|
"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",
|
|
"expect.js": "^0.3.1",
|
|
"github-changes": "^1.1.2",
|
|
"jshint": "^2.5.1",
|
|
"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"
|
|
}
|
|
}
|