forked from Schanihbg/webhallen-userscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.54 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.54 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
{
"name": "webhallen-userscript",
"version": "1.3.8",
"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": {
"@sleavely/eslint-config": "^1.0.1",
"@types/node": "^20.10.7",
"@types/tampermonkey": "^5.0.2",
"envsub": "^4.1.0",
"esbuild": "^0.19.11",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
}
}