forked from RocketChat/homeserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.76 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.76 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
{
"name": "homeserver",
"module": "index.ts",
"private": true,
"type": "module",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "latest",
"@types/express": "^5.0.1",
"@types/node": "^22.15.18",
"@types/sinon": "^17.0.4",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"sinon": "^20.0.0",
"tsconfig-paths": "^4.2.0",
"turbo": "~2.5.6",
"typescript": "~5.9.2"
},
"workspaces": ["packages/*"],
"dependencies": {
"dotenv": "^16.5.0",
"memoize": "^10.1.0",
"reflect-metadata": "^0.2.2",
"rollup": "^4.52.4",
"rollup-plugin-dts": "^6.2.3",
"tsyringe": "^4.10.0",
"tweetnacl": "^1.0.3"
},
"husky": {
"hooks": {
"pre-commit": "bun test"
}
},
"packageManager": "bun@1.1.10",
"lint-staged": {
"**.{js|ts|cjs|mjs|d.cts|d.mts|jsx|tsx|json|jsonc}": [
"biome check --files-ignore-unknown=true --diagnostic-level=error",
"biome check --write --no-errors-on-unmatched --diagnostic-level=error",
"biome check --write --organize-imports-enabled=false --no-errors-on-unmatched --diagnostic-level=error",
"biome check --write --unsafe --no-errors-on-unmatched --diagnostic-level=error",
"biome format --write --no-errors-on-unmatched --diagnostic-level=error",
"biome lint --write --no-errors-on-unmatched --diagnostic-level=error"
],
"*": ["biome check --no-errors-on-unmatched --files-ignore-unknown=true"]
},
"scripts": {
"prepare": "husky",
"start": "bun run index.ts",
"test": "bun test",
"build": "turbo build",
"test:coverage": "bun test --coverage",
"lint": "bunx @biomejs/biome lint --diagnostic-level=error",
"lint:ci": "bunx @biomejs/biome ci --diagnostic-level=error",
"lint:fix": "bunx @biomejs/biome lint --fix",
"tsc": "tsc --noEmit",
"bundle:sdk": "bun run build && bun run bundle.ts"
}
}