-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 4.71 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 4.71 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
{
"name": "perkcord-root",
"private": true,
"packageManager": "npm@10.9.4",
"type": "module",
"dependencies": {
"@perkcord/contracts": "file:packages/contracts"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.39.0",
"@types/node": "^20.19.33",
"@vitest/coverage-v8": "^4.1.0",
"convex": "1.31.7",
"convex-test": "^0.0.41",
"eslint": "^9.39.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^13.24.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"prettier": "^3.2.5",
"typescript": "5.5.4",
"typescript-eslint": "^8.57.0",
"vitest": "^4.1.0",
"zod": "^4.0.1"
},
"scripts": {
"guard:main-worktree": "node scripts/guard-main-worktree.mjs",
"check": "npm run format:write && npm --prefix apps/web run lint && npm --prefix apps/web run typecheck && npm --prefix apps/web run test && npm --prefix apps/web run test:e2e && npm --prefix apps/bot run lint && npm --prefix apps/bot run typecheck && npm run convex:lint && npm run contracts:lint && npm run contracts:typecheck && npm run contracts:test",
"check:verify": "npm run format && npm --prefix apps/web run lint && npm --prefix apps/web run typecheck && npm --prefix apps/web run test && npm --prefix apps/web run test:e2e && npm --prefix apps/bot run lint && npm --prefix apps/bot run typecheck && npm run convex:lint && npm run contracts:lint && npm run contracts:typecheck && npm run contracts:test",
"check:ci": "npm run check:verify && npm run test:coverage && bash scripts/check-metrics.sh",
"install:apps": "npm install && npm --prefix apps/web install && npm --prefix apps/bot install && npm --prefix convex install",
"precodegen": "node scripts/guard-main-worktree.mjs",
"codegen": "node scripts/convex-codegen.mjs",
"playwright:install": "npm --prefix apps/web exec -- playwright install",
"prepare": "node scripts/prepare-husky.mjs",
"setup": "npm run install:apps && npm run playwright:install",
"worktree:new": "node scripts/new-worktree.mjs",
"worktree:new:setup": "node scripts/new-worktree.mjs --setup",
"format": "prettier --check .",
"format:write": "prettier --write .",
"lint": "npm --prefix apps/web run lint && npm --prefix apps/bot run lint && npm run convex:lint && npm run contracts:lint",
"check:fast": "node scripts/check-fast-prereqs.mjs && npm run format && npm run lint && npm run typecheck && npm run test:unit",
"check:commit": "node scripts/pre-push-checks.mjs --scope=commit",
"check:push": "node scripts/pre-push-checks.mjs --scope=push",
"convex:format": "npm --prefix convex run format",
"convex:format:write": "npm --prefix convex run format:write",
"convex:lint": "npm --prefix convex run lint",
"contracts:lint": "eslint --config packages/contracts/eslint.config.mjs packages/contracts/src --max-warnings=0",
"contracts:typecheck": "tsc -p packages/contracts/tsconfig.json --noEmit",
"contracts:test": "vitest run packages/contracts/src/contracts.test.ts",
"typecheck": "npm --prefix apps/web run typecheck && npm --prefix apps/bot run typecheck && npm --prefix convex run typecheck && npm run contracts:typecheck",
"test": "npm --prefix apps/web run test",
"test:unit": "npm --prefix apps/web run test && npm --prefix apps/bot run test && npm --prefix convex run test && npm run contracts:test",
"test:e2e": "npm --prefix apps/web run test:e2e",
"test:e2e:visual": "npm --prefix apps/web run test:e2e:visual",
"test:e2e:visual:update": "npm --prefix apps/web run test:e2e:visual:update",
"snapshots:linux:update": "bash scripts/update-linux-snapshots.sh",
"test:coverage": "npm --prefix apps/web run test:coverage && npm --prefix apps/bot run test:coverage && npm --prefix convex run test:coverage",
"security:audit": "node scripts/security-audit.mjs",
"precheck": "node scripts/guard-main-worktree.mjs",
"precheck:verify": "node scripts/guard-main-worktree.mjs",
"precheck:ci": "node scripts/guard-main-worktree.mjs",
"precheck:fast": "node scripts/guard-main-worktree.mjs",
"preformat:write": "node scripts/guard-main-worktree.mjs",
"prelint": "node scripts/guard-main-worktree.mjs",
"presnapshots:linux:update": "node scripts/guard-main-worktree.mjs",
"pretypecheck": "node scripts/guard-main-worktree.mjs",
"pretest": "node scripts/guard-main-worktree.mjs",
"pretest:unit": "node scripts/guard-main-worktree.mjs",
"pretest:e2e": "node scripts/guard-main-worktree.mjs",
"pretest:e2e:visual": "node scripts/guard-main-worktree.mjs",
"pretest:e2e:visual:update": "node scripts/guard-main-worktree.mjs",
"pretest:coverage": "node scripts/guard-main-worktree.mjs",
"presecurity:audit": "node scripts/guard-main-worktree.mjs"
}
}