get-etld
Version:
Returns the effective top-level domain (eTLD) of the current web page without the use of a public suffix list.
72 lines (71 loc) • 1.76 kB
JSON
{
"name": "get-etld",
"version": "1.1.0",
"description": "Returns the effective top-level domain (eTLD) of the current web page without the use of a public suffix list.",
"author": "Aaron Hardy",
"contributors": [
"Joe Khoury"
],
"repository": {
"type": "git",
"url": "git@github.com:Aaronius/get-etld.git"
},
"keywords": [
"eTLD",
"TLD",
"domain",
"hostname",
"url"
],
"license": "MIT",
"module": "src/index.js",
"main": "lib/index.js",
"files": [
"src",
"lib"
],
"scripts": {
"format": "prettier --write \"**/*.{json,js,md,eslintrc}\"",
"lint": "eslint --fix .",
"test": "jest",
"test:watch": "jest --watchAll",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"build": "babel ./src --out-dir ./lib",
"prepublishOnly": "npm-run-all format lint test build"
},
"husky": {
"hooks": {
"pre-commit": "echo 'Running pre-commit scripts...' && lint-staged",
"pre-push": "echo 'Running pre-push scripts...' && npm run test"
}
},
"lint-staged": {
"*.{json,js,md,eslintrc}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-jest": "^24.8.0",
"babel-plugin-add-module-exports": "^1.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"husky": "^3.1.0",
"jest": "^24.8.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1"
},
"dependencies": {
"get-apex-domain": "^1.1.0"
}
}