-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.36 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.36 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
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
{
"name": "bugdrop",
"version": "1.14.0",
"description": "In-app feedback → GitHub Issues. Screenshots, annotations, the works.",
"type": "module",
"main": "./public/widget.js",
"exports": {
".": "./public/widget.js",
"./widget": "./public/widget.js",
"./widget.js": "./public/widget.js"
},
"files": [
"public/widget.js",
"public/widget.v*.js",
"src/widget/",
"LICENSE",
"README.md"
],
"scripts": {
"dev": "wrangler dev --port 8787",
"build": "tsc",
"build:widget": "node scripts/build-widget.js",
"deploy": "wrangler deploy",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"benchmark:screenshot": "npx playwright test --config benchmarks/playwright.config.ts",
"typecheck": "tsc --noEmit && tsc --project tsconfig.widget.json --noEmit",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"check:actions-node24": "node -e \"const {execSync}=require('node:child_process'); const out=execSync('rg -n \\\\\\\"actions/(checkout|setup-node|cache|upload-artifact)@v4|cloudflare/wrangler-action\\\\\\\" .github/workflows || true',{encoding:'utf8'}); if(out.trim()){ console.error(out); process.exit(1); } console.log('GitHub Actions are Node 24-ready');\"",
"validate": "npm run lint && npm run format:check && npm run typecheck && npm run test",
"prepare": "husky"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{js,jsx,json,md,css}": [
"prettier --write"
]
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241127.0",
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.49.0",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^4.1.6",
"esbuild": "^0.28.0",
"eslint": "^9.39.2",
"globals": "^16.5.0",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"knip": "^5.76.1",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"semantic-release": "^25.0.3",
"typescript": "^5.7.2",
"typescript-eslint": "^8.50.0",
"vitest": "^4.1.6",
"wrangler": "^4.92.0"
},
"dependencies": {
"hono": "^4.12.19",
"html-to-image": "^1.11.13"
}
}