This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
generated from caffeine-addictt/waku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.93 KB
/
package.json
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
{
"private": true,
"scripts": {
"dev:client": "npm run dev --workspace=client",
"dev:server": "npm run dev --workspace=server",
"dev": "concurrently -c green,blue,pink \"npm:dev:*\" \"npm:watch:shared\"",
"watch:shared": "nodemon -w ./shared/api-types -e ts -x \"./sync_shared.sh\"",
"build:client": "npm run build --workspace=client",
"build:server": "npm run build --workspace=server",
"build": "npm run build --workspaces --if-present",
"test:client": "npm run test --workspace=client",
"test:server": "npm run test --workspace=server",
"test": "npm run test --workspaces --if-present",
"lint:client": "npm run lint --workspace=client",
"lint:server": "npm run lint --workspace=server",
"lint:eslint": "npm run lint --workspaces --if-present",
"lint:prettier": "prettier . --check --cache --cache-strategy=metadata",
"lint": "echo \"Linting code\" && npm run lint:eslint && npm run lint:prettier",
"lint:client:fix": "npm run lint:fix --workspace=client",
"lint:server:fix": "npm run lint:fix --workspace=server",
"lint:eslint:fix": "npm run lint:fix --workspaces --if-present",
"lint:prettier:fix": "prettier . --write --cache --cache-strategy=metadata",
"lint:fix": "echo \"Formatting code\" && npm run lint:eslint:fix && npm run lint:prettier:fix",
"sync": "./sync_shared.sh --with-commit --with-format",
"sync:check": "./check_sync.sh",
"db-generate": "npm run db-generate -w server",
"db-migrate": "npm run db-migrate -w server",
"db-push": "npm run db-push -w server",
"db-studio": "npm run db-studio -w server",
"gen-token": "node -p 'require(\"crypto\").randomBytes(64).toString(\"hex\")'"
},
"pre-commit": [
"lint",
"sync:check"
],
"devDependencies": {
"concurrently": "^8.2.2",
"nodemon": "^3.1.4",
"pre-commit": "^1.2.2",
"prettier": "^3.3.3"
},
"workspaces": [
"client",
"server",
"shared/*"
]
}