-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
31 lines (31 loc) · 1.5 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
{
"name": "compooss-monorepo",
"private": true,
"version": "1.20.0",
"packageManager": "bun@1.3.8",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --ui tui",
"lint": "turbo run lint",
"type-check": "turbo run type-check",
"storybook": "turbo run storybook",
"build-storybook": "turbo run build-storybook",
"prepare": "husky",
"db:seed": "bun run scripts/seed.ts",
"docker:build": "docker build -t compooss:$(node -p \"require('./package.json').version\") --build-arg VERSION=$(node -p \"require('./package.json').version\") .",
"docker:push": "docker build -t ${DOCKERHUB_USER:-compooss}/compooss:$(node -p \"require('./package.json').version\") --build-arg VERSION=$(node -p \"require('./package.json').version\") . && docker push ${DOCKERHUB_USER:-compooss}/compooss:$(node -p \"require('./package.json').version\")",
"docker:publish": "VERSION=$(node -p \"require('./package.json').version\") && IMAGE_USER=${DOCKERHUB_USER:-compooss} && IMAGE_NAME=${DOCKER_IMAGE_NAME:-compooss} && docker build -t $IMAGE_USER/$IMAGE_NAME:$VERSION -t $IMAGE_USER/$IMAGE_NAME:latest --build-arg VERSION=$VERSION . && docker push $IMAGE_USER/$IMAGE_NAME:$VERSION && docker push $IMAGE_USER/$IMAGE_NAME:latest"
},
"devDependencies": {
"@commitlint/cli": "^20.4.3",
"@commitlint/config-conventional": "^20.4.3",
"husky": "^9.1.7",
"mongodb": "^7.1.0",
"turbo": "^2.3.3",
"typescript": "^5.8.3"
}
}