Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.91 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.91 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
{
"name": "flashbang",
"description": "The sub-1ms local first duck-duck-go style bang redirects",
"private": true,
"version": "1.7.2",
"type": "module",
"packageManager": "bun@1.4.4",
"scripts": {
"codegen": "bun scripts/codegen.ts",
"resolve:suggestions": "bun scripts/resolve-suggestions.ts",
"build": "bun scripts/build.ts",
"build:sw": "bun build src/sw/sw.ts --outdir dist --entry-naming sw.js --minify --target browser --format iife",
"build:ui": "bun -e \"import { bundleUI } from './scripts/shared.ts'; await bundleUI()\"",
"build:css": "bun -e \"import { generateCSS } from './scripts/shared.ts'; await generateCSS()\"",
"dev": "bun --hot scripts/dev.ts",
"start": "bun scripts/start.ts",
"start:bundled": "bun dist-server/server.js",
"check": "biome check",
"typecheck": "tsc --build",
"fix": "biome check --write",
"profile": "bun scripts/profile.ts",
"profile:private": "DIST_DIR=dist-e2e ALLOW_UNSAFE_CUSTOM_SUGGEST_URLS=true bun run build && PROFILE_PRIVATE_REDIRECT=true DIST_DIR=dist-e2e ALLOW_UNSAFE_CUSTOM_SUGGEST_URLS=true bunx playwright test tests/e2e/private-perf.e2e.ts --workers=1",
"profile:quick": "bun scripts/profile.ts --quick",
"profile:cpu": "bun --cpu-prof --cpu-prof-md --cpu-prof-dir profiles scripts/profile.ts",
"clean": "bun scripts/clean.ts",
"test": "bun test",
"test:e2e": "DIST_DIR=dist-e2e ALLOW_UNSAFE_CUSTOM_SUGGEST_URLS=true bun run build && DIST_DIR=dist-e2e ALLOW_UNSAFE_CUSTOM_SUGGEST_URLS=true bunx playwright test --workers=1"
},
"devDependencies": {
"@biomejs/biome": "^2.6.4",
"@minify-html/node": "^0.18.1",
"@playwright/test": "^1.64.1",
"@types/bun": "^1.4.4",
"@unocss/cli": "^66.12.0",
"@unocss/core": "^66.12.0",
"@unocss/preset-wind3": "^66.12.0",
"typescript": "^7.0.2"
},
"dependencies": {},
"overrides": {
"defu": "^6.1.7",
"picomatch": "^4.0.5"
}
}