-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
59 lines (59 loc) · 2.9 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
56
57
58
59
{
"name": "codetotal",
"scripts": {
"start": "turbo run start",
"watch": "turbo run watch",
"postinstall": "npm run build --workspace=packages/shared-types",
"lint": "npm run lint --workspaces",
"prebuild": "npm run clean",
"build": "npm run build --workspaces",
"postbuild": "mv ./packages/backend/dist . && mkdir -p ./dist/public && mv ./packages/app/dist/* ./dist/public",
"clean": "rm -rf dist && npm run clean --workspaces",
"production": "cross-env NODE_ENV=production node -r dotenv/config dist/index.js dotenv_config_path=./.env dotenv_config_debug=true",
"build:be": "npm run build:st && npm run build --workspace=packages/backend",
"build:st": "npm run build --workspace=packages/shared-types",
"start:be": "npm start --workspace=packages/backend",
"start:fe": "npm start --workspace=packages/app",
"test": "npm test --workspace=packages/backend",
"start:test": "npm run start:test --workspace=packages/backend",
"prestart:megalinter": "cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose -f docker-compose-megalinter.yml pull",
"start:megalinter": "cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose -f docker-compose-megalinter.yml up",
"precodetotal:dev": "docker build -t codetotal-server:dev --platform linux/amd64 -f Dockerfile .",
"codetotal:dev": "cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 CODETOTAL_SERVER_IMAGE=codetotal-server CODETOTAL_SERVER_VERSION=dev docker-compose -f docker-compose.yml up",
"precodetotal:beta": "cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 CODETOTAL_SERVER_VERSION=beta docker-compose -f docker-compose.yml pull",
"codetotal:beta": "cross-env echo \"When CodeTotal is up, open http://localhost:8081\" && cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 CODETOTAL_SERVER_VERSION=beta docker-compose -f docker-compose.yml up",
"precodetotal": "cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose -f docker-compose.yml pull",
"codetotal": "cross-env echo \"When CodeTotal is up, open http://localhost:8081\" && cross-env DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose -f docker-compose.yml up",
"doc:install": "pip install --upgrade markdown==3.3.7 mkdocs-material pymdown-extensions==9.11 mkdocs-glightbox==0.3.2 mdx_truly_sane_lists",
"doc:test": "mkdocs serve",
"e2e": "npx cypress open"
},
"pre-commit": [
"test",
"lint"
],
"workspaces": [
"packages/shared-types",
"packages/backend",
"packages/app"
],
"version": "0.7.1",
"description": "CodeTotal mono-repo",
"devDependencies": {
"@types/jest": "^29.5.3",
"cross-env": "^7.0.3",
"cypress": "^12.17.3",
"jest": "^29.6.1",
"pre-commit": "^1.2.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"turbo": "^1.10.12",
"typescript": "^5.1.6"
},
"keywords": [],
"author": "Itay",
"license": "ISC",
"dependencies": {
"@ct/shared-types": "^1.0.0"
}
}