51 lines
1.7 KiB
JSON
51 lines
1.7 KiB
JSON
{
|
|
"name": "tianji",
|
|
"private": true,
|
|
"version": "1.7.4",
|
|
"scripts": {
|
|
"dev": "concurrently --kill-others npm:dev:server npm:dev:web",
|
|
"dev:web": "cd src/client && pnpm dev",
|
|
"dev:server": "cd src/server && pnpm dev",
|
|
"start": "cd src/server && cross-env NODE_ENV=production node ./dist/src/server/main.js",
|
|
"start:docker": "pnpm start:docker:db && pnpm start",
|
|
"start:docker:db": "cd src/server && pnpm db:migrate:apply && pnpm db:migrate:script",
|
|
"test": "vitest",
|
|
"build": "pnpm build:tracker && pnpm build:app && pnpm build:geo",
|
|
"build:static": "pnpm build:tracker && pnpm build:client && pnpm build:geo",
|
|
"build:app": "pnpm build:server && pnpm build:client",
|
|
"build:client": "cd src/client && pnpm build",
|
|
"build:server": "cd src/server && pnpm build",
|
|
"build:tracker": "ts-node scripts/build-tracker.ts",
|
|
"build:geo": "ts-node scripts/build-geo.ts",
|
|
"build:openapi": "ts-node scripts/build-openapi-schema.ts",
|
|
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
|
|
"release": "release-it",
|
|
"release:patch": "release-it -i patch"
|
|
},
|
|
"devDependencies": {
|
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
"@types/fs-extra": "^11.0.3",
|
|
"@types/node": "^18.17.12",
|
|
"@types/tar": "^6.1.10",
|
|
"concurrently": "^8.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"fs-extra": "^11.2.0",
|
|
"prettier-plugin-tailwindcss": "^0.5.12",
|
|
"release-it": "^17.0.1",
|
|
"tar": "^6.1.15",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2",
|
|
"vite": "^5.0.12"
|
|
},
|
|
"dependencies": {
|
|
"dayjs": "^1.11.9",
|
|
"eventemitter-strict": "^1.0.1",
|
|
"zod": "^3.22.2"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"dayjs": "1.11.10"
|
|
}
|
|
}
|
|
}
|