generated from Zenoo/fullstack-typescript-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
55 lines (55 loc) · 2.37 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
48
49
50
51
52
53
54
55
{
"name": "labrute",
"version": "2.77.0",
"private": true,
"engines": {
"npm": ">=8.1.2",
"node": ">=16.13.1"
},
"scripts": {
"clean": "rimraf \"client/build\" \"core/lib\" \"server/lib\" \"**/node_modules\" \"**/tsconfig.tsbuildinfo\"",
"compile": "tsc -b tsconfig.build.json",
"front": "cd ./client && yarn start",
"back": "cd ./server && yarn start:watch",
"eternaltwin": "eternaltwin",
"eternaltwin:start": "eternaltwin start",
"start": "cd ./server && yarn start",
"dev": "concurrently --prefix \"[{name}]\" --names \"DB,SERVER,CLIENT,ETWIN\" -c \"bgMagenta.bold,bgBlue.bold,bgGreen.bold,bgYellow.bold\" \"yarn run studio\" \"yarn run back\" \"yarn run front\" \"yarn run eternaltwin:start\"",
"build": "yarn compile && yarn build:client",
"build:client": "cd ./client && yarn build",
"db:migrate:manual": "cd ./server && yarn db:migrate:manual",
"db:sync:dev": "cd ./server && yarn db:sync:dev",
"db:sync:prod": "cd ./server && yarn db:sync:prod",
"db:seed": "cd ./server && yarn db:seed",
"db:reset": "cd ./server && yarn db:reset",
"postinstall": "bash ./postInstall.sh",
"studio": "cd ./server && yarn studio",
"audit": "yarn npm audit --recursive --all --environment production",
"add:client": "yarn workspace @labrute/client add",
"add:server": "yarn workspace @labrute/server add",
"sfx:wsl:generate": "cd ./client/public/sfx && audiosprite $(find . -type f -name '*.mp3' -o -name '*.wav') -o sfx -u . && mv ./sfx.json ./../../src/assets/",
"sfx:generate": "cd ./client/public/sfx && audiosprite -o sfx -e mp3 -u . $(ls **/*.mp3 **/*.wav | grep -v 'background.mp3' | grep -v 'unused/' | grep -v 'sfx.mp3' ) && mv ./sfx.json ./../../src/assets/",
"remove:client": "yarn workspace @labrute/client remove",
"remove:server": "yarn workspace @labrute/server remove",
"run:retrieveFirstBonus": "cd server && yarn run:retrieveFirstBonus",
"run:fixErroredBonuses": "cd server && yarn run:fixErroredBonuses"
},
"devDependencies": {
"@eternaltwin/cli": "^0.14.3",
"@types/node": "^18.11.15",
"audiosprite": "^0.7.2",
"concurrently": "^7.6.0",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
},
"workspaces": {
"packages": [
"./client",
"./core",
"./prisma",
"./server"
]
},
"packageManager": "[email protected]"
}