Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.24 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
74
75
76
77
78
79
80
{
"name": "thyme",
"version": "1.0.0",
"description": "A movie and TV show database with search functionality",
"main": "dist/index.js",
"type": "module",
"volta": {
"node": "24.12.0",
"yarn": "1.22.22"
},
"scripts": {
"build": "tsc",
"build:site": "tsx scripts/build.ts && vite build --config web/vite.config.ts",
"wasm:bundle": "vite build --config wasm/vite.config.ts",
"wasm:componentize": "jco componentize wasm/dist/index.js -w node_modules/trailbase-wasm/wit -o wasm/dist/component.wasm",
"wasm:build": "yarn wasm:bundle && yarn wasm:componentize && mkdir -p traildepot/wasm && cp wasm/dist/component.wasm traildepot/wasm/component.wasm",
"dev": "tsc --watch",
"clean": "rm -rf dist wasm/dist traildepot/wasm",
"rebuild": "yarn clean && yarn build",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format . --write",
"format:check": "biome format .",
"type-check": "tsc --noEmit && tsc -p web",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"check-deps": "tsx scripts/check-deps.ts",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"keywords": [
"movies",
"tv-shows",
"database",
"search",
"typescript",
"sqlite"
],
"author": "Your Name",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^2.0.5",
"@bytecodealliance/jco": "^1.36.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"fs-extra": "^11.3.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"trailbase-wasm": "0.6.0",
"ts-jest": "^29.1.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"vite": "^8.3.2"
},
"dependencies": {},
"lint-staged": {
"*.{ts,tsx}": [
"biome check --write",
"biome format --write"
],
"*.{js,jsx,json}": [
"biome format --write"
]
},
"engines": {
"node": ">=22.20.0",
"yarn": ">=1.22.0"
},
"repository": {
"type": "git",
"url": "https://github.com/yourusername/thyme.git"
},
"bugs": {
"url": "https://github.com/yourusername/thyme/issues"
},
"homepage": "https://github.com/yourusername/thyme#readme"
}