1 | {
|
2 | "name": "parse-domain",
|
3 | "version": "2.3.0",
|
4 | "description": "Splits an url into sub-domain, domain and effective top-level-domain",
|
5 | "main": "./lib/parseDomain.js",
|
6 | "types": "./lib/index.d.ts",
|
7 | "scripts": {
|
8 | "build": "run-s build:lib build:tries",
|
9 | "build:lib": "run-s build:lib:clean build:lib:babel",
|
10 | "build:lib:clean": "rimraf lib",
|
11 | "build:lib:babel": "babel src --out-dir lib",
|
12 | "build:tries": "node scripts/build-tries.js",
|
13 | "postinstall": "run-s build:tries",
|
14 | "prepublish": "run-s build",
|
15 | "release": "standard-version",
|
16 | "pretest": "run-s build:lib:clean pretest:link",
|
17 | "pretest:link": "node scripts/link-src.js",
|
18 | "test": "nyc mocha -R spec",
|
19 | "posttest": "eslint src test",
|
20 | "update": "updtr"
|
21 | },
|
22 | "keywords": [
|
23 | "domain",
|
24 | "url",
|
25 | "sub-domain",
|
26 | "tld",
|
27 | "parse",
|
28 | "extract",
|
29 | "sanitize",
|
30 | "country",
|
31 | "top-level"
|
32 | ],
|
33 | "repository": {
|
34 | "type": "git",
|
35 | "url": "https://github.com/peerigon/parse-domain.git"
|
36 | },
|
37 | "author": "peerigon <developers@peerigon.com>",
|
38 | "license": "Unlicense",
|
39 | "dependencies": {
|
40 | "chai": "^4.2.0",
|
41 | "got": "^8.3.2",
|
42 | "mkdirp": "^0.5.1",
|
43 | "mocha": "^6.1.4",
|
44 | "npm-run-all": "^4.1.5"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@babel/cli": "^7.4.4",
|
48 | "@babel/core": "^7.4.4",
|
49 | "@babel/preset-env": "^7.4.4",
|
50 | "eslint": "^5.16.0",
|
51 | "eslint-config-peerigon": "^17.1.0",
|
52 | "eslint-plugin-import": "^2.17.2",
|
53 | "eslint-plugin-jsdoc": "^4.8.4",
|
54 | "nyc": "^14.1.1",
|
55 | "rimraf": "^2.6.3",
|
56 | "standard-version": "^6.0.1",
|
57 | "updtr": "^3.1.0"
|
58 | },
|
59 | "files": [
|
60 | "lib",
|
61 | "scripts",
|
62 | "lists",
|
63 | "test",
|
64 | "build"
|
65 | ]
|
66 | }
|