34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"name": "order-site-backend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"cleanup:dev-data": "tsx scripts/cleanup-dev-data.ts",
|
|
"build": "tsc -p tsconfig.build.json && rm -rf dist/db/migrations && mkdir -p dist/db && cp -R src/db/migrations dist/db/migrations",
|
|
"db:migrate": "tsx src/db/migrate.ts",
|
|
"dev": "tsx watch --clear-screen=false src/index.ts",
|
|
"format": "prettier --write .",
|
|
"mock:claim": "tsx scripts/mock-kuaishou-cloud-claim.ts",
|
|
"mock:open91": "tsx scripts/mock-open91-order.ts",
|
|
"test": "node --import tsx --test $(find src \\( -name '*.test.ts' -o -name '*.test.js' \\) -print)",
|
|
"test:industry": "tsx scripts/test-kuaishou-industry.ts",
|
|
"test:industry:http": "tsx scripts/test-kuaishou-industry-http.ts",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"start": "node dist/index.js",
|
|
"start:src": "tsx src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.1.0",
|
|
"pg": "^8.16.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.6.0",
|
|
"@types/pg": "^8.20.0",
|
|
"prettier": "^3.8.3",
|
|
"tsx": "^4.22.3",
|
|
"typescript": "^6.0.2"
|
|
}
|
|
}
|