-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.88 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
{
"name": "get-apex-domain",
"version": "1.1.0",
"description": "Returns the apex domain (aka base, bare, naked, root apex, or zone apex domain) of the current web page without the use of a public suffix list. The apex domain is also the top-most domain that allows for setting cookies.",
"author": "Aaron Hardy",
"contributors": [
"Joe Khoury"
],
"repository": {
"type": "git",
"url": "[email protected]:Aaronius/get-apex-domain.git"
},
"keywords": [
"apex",
"domain",
"base",
"naked",
"root",
"zone",
"hostname",
"url",
"cookie"
],
"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",
"test:coverage": "jest --coverage",
"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.7.0",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"babel-jest": "^24.8.0",
"babel-plugin-add-module-exports": "^1.0.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.4",
"husky": "^3.0.9",
"jest": "^24.8.0",
"lint-staged": "^9.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1"
}
}