-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.7 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.7 KB
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
{
"name": "webhallen-userscript",
"version": "1.1.2",
"description": "Adds a statistics page in the user profile section and adds product comparison functionality on applicable products",
"main": "dist/webhallen.user.js",
"scripts": {
"build": "npm run build:compile && npm run build:header && npm run build:merge && npm run build:cleanup",
"build:compile": "npx esbuild --bundle src/userscript.ts --outdir=dist",
"build:header": "npx envsub --env USER_SCRIPT_VERSION=\"$(jq .version package.json)\" --env USER_SCRIPT_DESC=\"$(jq .description package.json)\" --env USER_SCRIPT_AUTHORS=\"$(jq --join-output '.authors | join(\", \")' package.json)\" -p -s dollar-basic userscript-header.js dist/header.js",
"build:merge": "cat dist/header.js dist/userscript.js > dist/webhallen.user.js",
"build:cleanup": "rm dist/header.js dist/userscript.js",
"lint": "npx eslint src/ && npx tsc --noEmit",
"test": "vitest run --silent"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Schanihbg/webhallen-userscript.git"
},
"authors": [
"Schanii",
"tsjost",
"Furiiku",
"Sleavely"
],
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/Schanihbg/webhallen-userscript/issues"
},
"homepage": "https://github.com/Schanihbg/webhallen-userscript#readme",
"devDependencies": {
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@stylistic/eslint-plugin": "5.10.0",
"@types/node": "25.5.0",
"@types/tampermonkey": "5.0.5",
"envsub": "4.1.0",
"esbuild": "0.27.4",
"eslint": "10.1.0",
"globals": "17.4.0",
"jiti": "2.6.1",
"typescript": "6.0.2",
"typescript-eslint": "8.58.0",
"vitest": "4.1.2"
}
}