-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
67 lines (67 loc) · 5.83 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
{
"name": "gdlauncher",
"productName": "GDLauncher",
"private": true,
"description": "GDLauncher Carbon.",
"author": "killpowa <[email protected]>",
"license": "ARR",
"scripts": {
"init": "npm i -g [email protected] && npm i -g cross-env && cross-env-shell PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=true pnpm i",
"sudo-init": "sudo npm i -g [email protected] && PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=true pnpm i",
"codegen": "node iridium_patchfix.js && pnpm prisma:generate && pnpm rspc-bindings:generate",
"watch:app": "turbo run dev --filter !@gd/website",
"watch:core": "cargo run -p carbon_app",
"------divider-prepare------": "------divider------",
"prepare-release:linux-x64": "cd target/x86_64-unknown-linux-gnu/release && cp ./carbon_app ./carbon_app.debug && strip -S ./carbon_app",
"prepare-release:mac-x64": "cd target/x86_64-apple-darwin/release && dsymutil ./carbon_app && strip -S ./carbon_app",
"prepare-release:mac-arm64": "cd target/aarch64-apple-darwin/release && dsymutil ./carbon_app && strip -S ./carbon_app",
"prepare-release:linux-x64-prod": "cd target/x86_64-unknown-linux-gnu/production && cp ./carbon_app ./carbon_app.debug && strip -S ./carbon_app",
"prepare-release:mac-x64-prod": "cd target/x86_64-apple-darwin/production && dsymutil ./carbon_app && strip -S ./carbon_app",
"prepare-release:mac-arm64-prod": "cd target/aarch64-apple-darwin/production && dsymutil ./carbon_app && strip -S ./carbon_app",
"------divider-release------": "------divider------",
"build:linux-x64": "cargo build -p carbon_app --release --target x86_64-unknown-linux-gnu && pnpm prepare-release:linux-x64 && turbo run build --filter !@gd/website -- --x64 --linux -- --release",
"build:win-x64": "cargo build -p carbon_app --release --target x86_64-pc-windows-msvc && turbo run build --filter !@gd/website -- --x64 --win -- --release",
"build:mac-universal": "cargo build -p carbon_app --release --target aarch64-apple-darwin && pnpm prepare-release:mac-arm64 && cargo build -p carbon_app --release --target x86_64-apple-darwin && pnpm prepare-release:mac-x64 && turbo run build --filter !@gd/website -- --universal --mac -- --release",
"------divider-prod------": "------divider------",
"build:linux-x64-prod": "cargo build -p carbon_app --profile=production --features production --target x86_64-unknown-linux-gnu && pnpm prepare-release:linux-x64-prod && turbo run build --filter !@gd/website -- --x64 --linux -- --production",
"build:win-x64-prod": "cargo build -p carbon_app --profile=production --features production --target x86_64-pc-windows-msvc && turbo run build --filter !@gd/website -- --x64 --win -- --production",
"build:mac-universal-prod": "cargo build -p carbon_app --profile=production --features production --target x86_64-apple-darwin && pnpm prepare-release:mac-x64-prod && cargo build -p carbon_app --profile=production --features production --target aarch64-apple-darwin && pnpm prepare-release:mac-arm64-prod && turbo run build --filter !@gd/website -- --universal --mac -- --production",
"------divider-website----": "------divider------",
"dev:website": "turbo run dev --filter @gd/website",
"build:website": "turbo run build --filter @gd/website",
"------divider-utils------": "------divider------",
"lint": "turbo run lint --filter @gd/desktop --filter @gd/ui",
"test": "turbo run test && cargo test",
"test-prod": "turbo run test --filter @gd/desktop",
"lint-desktop": "turbo run lint --filter @gd/desktop",
"rspc-bindings:generate": "cargo run -p carbon_app -- --generate-ts-bindings",
"------divider-prisma-generate-normal------": "------divider------",
"prisma:generate": "cargo run -p prisma-cli -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:linux-x64": "cargo run -p prisma-cli --release --target x86_64-unknown-linux-gnu -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:mac-x64": "cargo run -p prisma-cli --release --target x86_64-apple-darwin -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:mac-arm64": "cargo run -p prisma-cli --release --target aarch64-apple-darwin -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:win-x64": "cargo run -p prisma-cli --release --target x86_64-pc-windows-msvc -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"------divider-prisma-generate-prod------": "------divider------",
"prisma:generate:linux-x64-prod": "cargo run -p prisma-cli --profile=production --target x86_64-unknown-linux-gnu -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:mac-x64-prod": "cargo run -p prisma-cli --profile=production --target x86_64-apple-darwin -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:mac-arm64-prod": "cargo run -p prisma-cli --profile=production --target aarch64-apple-darwin -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:generate:win-x64-prod": "cargo run -p prisma-cli --profile=production --target x86_64-pc-windows-msvc -- generate --schema=./crates/carbon_app/prisma/schema.prisma",
"------divider-prisma-utils------": "------divider------",
"prisma:studio": "npx prisma studio --schema ./crates/carbon_app/prisma/schema.prisma",
"prisma:migrate": "cargo run -p prisma-cli --release -- migrate dev --schema=./crates/carbon_app/prisma/schema.prisma",
"prisma:reset": "cargo run -p prisma-cli --release -- migrate reset --force --schema=./crates/carbon_app/prisma/schema.prisma",
"sentry-cli": "sentry-cli"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.556.0",
"@sentry/cli": "^2.31.0",
"cross-env": "^7.0.3",
"semver": "^7.6.0",
"turbo": "^1.13.2"
},
"engines": {
"pnpm": ">=8.15.0",
"node": ">=18.18.0"
},
"packageManager": "[email protected]"
}