-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
78 lines (78 loc) · 2 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
74
75
76
77
78
{
"name": "github-url-detection",
"version": "9.0.3",
"description": "Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.",
"keywords": [
"github",
"page",
"routes",
"detect",
"test",
"extension"
],
"repository": "refined-github/github-url-detection",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <[email protected]> (https://fregante.com)",
"sideEffects": false,
"type": "module",
"exports": "./distribution/index.js",
"main": "./distribution/index.js",
"types": "./distribution/index.d.ts",
"files": [
"distribution/index.js",
"distribution/index.d.ts"
],
"scripts": {
"build": "run-p build:*",
"build:esbuild": "esbuild index.ts --bundle --external:github-reserved-names --outdir=distribution --format=esm --drop-labels=TEST",
"build:typescript": "tsc --declaration --emitDeclarationOnly",
"build:demo": "vite build demo",
"prepack": "npm run build",
"test": "run-p build test:* xo",
"test:unit": "vitest",
"test:demo": "svelte-check",
"watch": "run-p watch:*",
"watch:typescript": "tsc --watch --noEmit",
"watch:test:unit": "npm run test:unit -- --watch",
"watch:demo": "vite preview demo & npm run build:demo -- --watch # vite serve isn't real",
"xo": "xo"
},
"xo": {
"envs": [
"browser"
],
"overrides": [
{
"files": [
"*.ts"
],
"rules": {
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/naming-convention": "off",
"no-unused-labels": "off",
"no-labels": "off"
}
}
]
},
"dependencies": {
"github-reserved-names": "^2.0.7"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^6.0.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"esbuild": "^0.23.1",
"npm-run-all": "^4.1.5",
"strip-indent": "^4.0.0",
"svelte": "^4.2.18",
"svelte-check": "^3.8.5",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vitest": "^2.0.5",
"xo": "^0.59.3"
},
"engines": {
"node": ">=20.10"
}
}