/
package.json
68 lines (68 loc) · 1.75 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
{
"name": "url-relation",
"description": "Determine the relation between two URLs.",
"version": "1.0.0-alpha14",
"license": "MIT",
"author": "Steven Vachon <contact@svachon.com> (https://svachon.com)",
"repository": "github:stevenvachon/url-relation",
"main": "lib",
"browser": {
"./lib": "./lib-es5"
},
"dependencies": {
"array.prototype.flat": "^1.2.4",
"any-match": "^2.0.1",
"deep-freeze-node": "^1.1.3",
"evaluate-value": "^2.0.0",
"isurl": "^4.0.2",
"parse-domain": "^3.0.3",
"symbol.prototype.description": "^1.0.4"
},
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.1",
"@babel/preset-env": "^7.13.5",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"c8": "^7.6.0",
"chai": "^4.3.0",
"coveralls": "^3.1.0",
"gzip-size-cli": "^4.0.0",
"incomplete-url": "^4.0.0",
"mocha": "^8.3.0",
"npm-watch": "~0.7.0",
"terser": "^5.6.0"
},
"engines": {
"node": ">= 14"
},
"scripts": {
"build": "babel lib/ --out-dir=lib-es5/ --presets=@babel/env --source-maps",
"ci": "npm test && c8 report --reporter=text-lcov | coveralls",
"posttest": "c8 report --reporter=text-summary --reporter=html && npm run build --silent && browserify lib/ --global-transform [ babelify --presets [ @babel/env ] ] --standalone=URLRelation | terser --compress --mangle | gzip-size",
"prepublishOnly": "npm test",
"test": "c8 mocha test/ --check-leaks --bail",
"test:watch": "npm-watch test"
},
"watch": {
"test": {
"inherit": true,
"patterns": [
"lib",
"shims",
"test"
]
}
},
"files": [
"lib",
"lib-es5"
],
"keywords": [
"match",
"uri",
"url",
"relation",
"whatwg"
]
}