2026-05-19 16:05:09 +08:00
|
|
|
{
|
|
|
|
|
"name": "shumai",
|
2026-11-18 21:10:30 +08:00
|
|
|
"version": "0.7.0",
|
2026-05-19 16:05:09 +08:00
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
2026-06-12 18:47:28 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/shumaiOne/shumai.git"
|
|
|
|
|
},
|
2026-06-01 23:08:58 +08:00
|
|
|
"workspaces": [
|
2026-06-02 15:30:16 +08:00
|
|
|
"packages/*",
|
|
|
|
|
"apps/*"
|
2026-06-01 23:08:58 +08:00
|
|
|
],
|
2026-05-19 16:05:09 +08:00
|
|
|
"scripts": {
|
2026-06-02 15:30:16 +08:00
|
|
|
"dev": "bun run --hot apps/web/src/index.ts",
|
2026-09-06 15:48:39 +08:00
|
|
|
"i18n:compile": "paraglide-js compile --project ./packages/webui/project.inlang --outdir ./packages/webui/paraglide --emit-ts-declarations",
|
|
|
|
|
"i18n:watch": "paraglide-js compile --project ./packages/webui/project.inlang --outdir ./packages/webui/paraglide --watch --emit-ts-declarations",
|
2026-05-19 16:05:09 +08:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
|
|
|
"test": "bun --bun vitest run",
|
2026-08-08 13:20:52 +08:00
|
|
|
"test:e2e:app": "playwright test --project=app-chromium",
|
|
|
|
|
"test:e2e:webui": "E2E_SKIP_APP_SERVER=true playwright test --project=harness-chromium",
|
2026-08-05 18:28:46 +08:00
|
|
|
"test:e2e:all": "playwright test",
|
2026-07-15 11:40:57 +08:00
|
|
|
"test:e2e:workflow": "bun --bun vitest run -c packages/e2e/vitest.config.ts",
|
2026-07-03 14:37:04 +08:00
|
|
|
"test:e2e:install": "playwright install --with-deps",
|
|
|
|
|
"harness:dev": "bun run packages/webui/e2e/harness/serve.ts",
|
2026-10-22 20:25:54 +08:00
|
|
|
"format": "bun fmt",
|
2026-05-19 16:05:09 +08:00
|
|
|
"db:migrate": "bun run prisma migrate dev",
|
|
|
|
|
"db:deploy": "bun run prisma migrate deploy",
|
2026-06-22 11:49:53 +08:00
|
|
|
"db:generate": "cd packages/db && bunx prisma generate",
|
2026-06-02 15:30:16 +08:00
|
|
|
"worker:transcode": "bun apps/transcode/src/index.ts",
|
2026-09-06 15:48:39 +08:00
|
|
|
"build": "bun run i18n:compile && bun run build.ts",
|
|
|
|
|
"build-npm": "bun run i18n:compile && bun scripts/build-npm.ts",
|
2026-11-12 19:37:33 +08:00
|
|
|
"build:cli": "bun scripts/build-cli.ts",
|
|
|
|
|
"test:cli-release": "bun scripts/test-cli-release.ts",
|
2026-06-05 17:01:25 +08:00
|
|
|
"prepublishOnly": "bun run build-npm && bun run lint && bun run typecheck",
|
|
|
|
|
"publish": "bun run prepublishOnly && bun run scripts/publish.ts",
|
|
|
|
|
"publish:dry": "bun run prepublishOnly && bun run scripts/publish.ts --dry-run",
|
|
|
|
|
"release:local": "bun run scripts/release-local.ts",
|
|
|
|
|
"release:patch": "bun run scripts/release.ts patch",
|
|
|
|
|
"release:minor": "bun run scripts/release.ts minor",
|
2026-09-18 11:57:25 +08:00
|
|
|
"release:major": "bun run scripts/release.ts major",
|
2026-09-22 21:02:27 +08:00
|
|
|
"changelog:extract": "bun run scripts/extract-changelog.ts",
|
|
|
|
|
"docs:changelog": "bun run scripts/generate-docs-changelog.ts",
|
|
|
|
|
"docs:changelog:check": "bun run scripts/generate-docs-changelog.ts --check"
|
2026-05-19 16:05:09 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-11 09:56:36 +08:00
|
|
|
"@eslint/js": "10.0.1",
|
2026-09-06 15:48:39 +08:00
|
|
|
"@inlang/paraglide-js": "2.25.0",
|
2026-07-03 14:37:04 +08:00
|
|
|
"@playwright/test": "1.61.1",
|
2026-09-06 11:31:05 +08:00
|
|
|
"@testcontainers/postgresql": "12.1.0",
|
2026-07-03 15:56:31 +08:00
|
|
|
"@testing-library/dom": "10.4.1",
|
2026-09-06 11:31:05 +08:00
|
|
|
"@testing-library/react": "16.3.3",
|
2026-10-22 20:25:54 +08:00
|
|
|
"@types/bun": "1.4.3",
|
2026-06-11 09:56:36 +08:00
|
|
|
"@types/node": "25.9.1",
|
|
|
|
|
"bun-plugin-pino": "1.5.0",
|
|
|
|
|
"bun-plugin-tailwind": "0.1.2",
|
2026-10-22 20:25:54 +08:00
|
|
|
"bun-types": "1.4.3",
|
2026-09-06 11:31:05 +08:00
|
|
|
"eslint": "10.9.1",
|
2026-06-11 09:56:36 +08:00
|
|
|
"eslint-config-prettier": "10.1.8",
|
|
|
|
|
"eslint-plugin-react": "7.37.5",
|
2026-09-06 11:31:05 +08:00
|
|
|
"globals": "17.11.0",
|
|
|
|
|
"happy-dom": "20.12.0",
|
2026-06-27 10:20:00 +08:00
|
|
|
"pino-pretty": "13.1.3",
|
2026-09-06 11:31:05 +08:00
|
|
|
"prisma": "7.10.0",
|
|
|
|
|
"testcontainers": "12.1.0",
|
2026-06-11 09:56:36 +08:00
|
|
|
"typescript": "6.0.3",
|
2026-09-06 11:31:05 +08:00
|
|
|
"typescript-eslint": "8.68.0",
|
2026-06-27 10:20:00 +08:00
|
|
|
"vite-tsconfig-paths": "6.1.1",
|
2026-09-06 11:31:05 +08:00
|
|
|
"vitest": "4.1.11"
|
2026-05-19 16:05:09 +08:00
|
|
|
}
|
|
|
|
|
}
|