forked from Majoramari/3am-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.53 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.53 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
{
"name": "3am-frontend",
"description": "Frontend for 3AM car showcase and accessories store.",
"version": "0.0.5",
"type": "module",
"author": "Muhannad Hassan",
"contributors": [],
"license": "0BSD",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:bundle": "vite build",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"budget": "size-limit",
"test": "bun test",
"preview": "vite preview",
"optimize": "TARGET_SIZE_KB=120 MIN_QUALITY=88 MAX_QUALITY=98 REOPTIMIZE_WEBP=true WEBP_LOSSLESS=false bash scripts/optimize-images.sh",
"lint": "biome check .",
"format": "biome format --write ."
},
"size-limit": [
{
"name": "Main JS",
"path": "dist/assets/index-*.js",
"limit": "8 KB"
},
{
"name": "Main CSS",
"path": "dist/assets/index-*.css",
"limit": "5.5 KB"
},
{
"name": "Home Route",
"path": "dist/assets/home-*.js",
"limit": "12 KB"
},
{
"name": "Not Found Route",
"path": "dist/assets/notFound-*.js",
"limit": "12 KB"
},
{
"name": "Total Dist Output",
"path": "dist/**/*",
"limit": "15 MB"
}
],
"devDependencies": {
"@biomejs/biome": "2.3.15",
"@size-limit/file": "^12.0.0",
"@types/bun": "^1.3.9",
"@types/node": "^25.2.3",
"esbuild": "^0.27.3",
"happy-dom": "^20.6.3",
"oxc-minify": "^0.115.0",
"size-limit": "^12.0.0",
"typescript": "~5.9.3",
"vite": "^8.0.0-beta.13",
"vitepress": "^2.0.0-alpha.16"
},
"overrides": {
"vite": "^8.0.0-beta.13"
}
}