forked from keyshade-xyz/keyshade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 5.12 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "keyshade-xyz",
"version": "1.2.0",
"license": "MPL-2.0",
"private": true,
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"presetConfig": {
"releaseCommitMessageFormat": "chore(release): {{currentTag}} [skip ci]\n\n{{currentTag}}\n\n{{notes}}",
"types": [
{
"type": "feat",
"section": "🚀 Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "⚡ Performance Improvements"
},
{
"type": "revert",
"section": "🔙 Reverts"
},
{
"type": "docs",
"section": "📚 Documentation"
},
{
"type": "style",
"section": "💅 Styles"
},
{
"type": "chore",
"section": "🔧 Miscellaneous Chores"
},
{
"type": "refactor",
"section": "🔨 Code Refactoring"
},
{
"type": "test",
"hidden": true
}
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"scripts": {
"dev": "turbo run dev",
"dev:api": "turbo run dev --filter=api",
"dev:web": "turbo run dev --filter=web",
"dev:workspace": "turbo run dev --filter=workspace",
"add:global": "pnpm add -w",
"add:api": "pnpm add --filter=api",
"add:web": "pnpm add --filter=web",
"add:workspace": "pnpm add --filter=workspace",
"lint": "turbo run lint",
"lint:api": "turbo run lint --filter=api",
"lint:web": "turbo run lint --filter=web",
"lint:workspace": "turbo run lint --filter=workspace",
"build": "turbo run build",
"build:api": "pnpm db:generate-types && turbo run build --filter=api",
"build:web": "turbo run build --filter=web",
"build:workspace": "turbo run build --filter=workspace",
"start": "turbo run start",
"start:api": "turbo run start --filter=api",
"start:web": "turbo run start --filter=web",
"start:workspace": "turbo run start --filter=workspace",
"test": "turbo run test",
"test:api": "pnpm unit:api && pnpm e2e:api",
"unit:api": "pnpm db:generate-types && turbo run test --filter=api -- --config=jest.config.ts",
"e2e:api:prepare": "docker compose down && docker compose -f docker-compose-test.yml up -d && pnpm db:generate-types && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' pnpm run db:deploy-migrations",
"e2e:api": "pnpm run e2e:api:prepare && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' turbo run test --no-cache --filter=api -- --runInBand --config=jest.e2e-config.ts --coverage --coverageDirectory=../../coverage-e2e/api --coverageReporters=json && pnpm run e2e:api:teardown",
"e2e:api:teardown": "docker compose -f docker-compose-test.yml down",
"test:web": "turbo run test --filter=web",
"test:workspace": "turbo run test --filter=workspace",
"db:generate-types": "pnpm dlx prisma generate --schema=apps/api/src/prisma/schema.prisma",
"db:generate-migrations": "pnpx prisma migrate dev --create-only --skip-seed --schema=apps/api/src/prisma/schema.prisma",
"db:deploy-migrations": " pnpx prisma migrate deploy --schema=apps/api/src/prisma/schema.prisma",
"db:validate": "pnpm dlx prisma validate --schema=apps/api/src/prisma/schema.prisma",
"db:format": "pnpm dlx prisma format --schema=apps/api/src/prisma/schema.prisma",
"db:reset": "pnpm dlx prisma migrate reset --force --schema=apps/api/src/prisma/schema.prisma",
"format": "prettier apps/**/*.{ts,tsx} --write",
"prepare": "husky install",
"sourcemaps:api": "turbo run sourcemaps --filter=api"
},
"packageManager": "pnpm@9.0.5",
"devDependencies": {
"@sentry/cli": "^2.28.6",
"@sentry/webpack-plugin": "^2.14.2",
"husky": "^9.0.11",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"prisma": "5.12.1",
"tsconfig": "workspace:*",
"turbo": "^1.12.4"
},
"dependencies": {
"@million/lint": "^0.0.73",
"@prisma/client": "5.12.1",
"@sentry/node": "^7.102.0",
"@sentry/profiling-node": "^7.102.0",
"million": "^3.0.5",
"sharp": "^0.33.3"
}
}