misskey-tools/packages/backend/package.json
2023-04-26 12:54:20 +09:00

74 lines
1.8 KiB
JSON

{
"name": "tools-backend",
"version": "4.0.0-dev",
"author": "Shrimpia Network",
"type": "module",
"types": "./dist/app.d.ts",
"scripts": {
"build": "tsc --noEmit && tsup",
"clean": "rimraf dist",
"dev": "tsc --noEmit && tsup --watch --onSuccess \"node --enable-source-maps dist/app.js\"",
"lint": "eslint --fix \"src/**/*.ts*\"",
"start": "NODE_ENV=production node dist/app.js",
"start-dev": "node --enable-source-maps dist/app.js",
"migrate": "prisma migrate dev",
"test": "jest --detectOpenHandles",
"migrate:gen": "prisma migrate dev --create-only --name"
},
"dependencies": {
"@fastify/view": "^7.4.1",
"@prisma/client": "^4.12.0",
"@trpc/server": "10.20.0",
"axios": "^0.21.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"dayjs": "^1.10.7",
"fastify": "^4.15.0",
"jest": "^26.6.3",
"markdown-it": "^12.3.2",
"ms": "^2.1.3",
"node-cron": "^2.0.3",
"pg": "^8.3.0",
"pino-pretty": "^10.0.0",
"pug": "^3.0.0",
"reflect-metadata": "^0.1.13",
"rndstr": "^1.0.0",
"routing-controllers": "^0.10.1",
"striptags": "^3.2.0",
"tools-jest-presets": "workspace:*",
"tools-shared": "workspace:*",
"typescript": "5.0.4",
"uuid": "^8.3.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
"@types/ms": "^0.7.31",
"@types/node": "^18.14.1",
"@types/node-cron": "^2.0.3",
"@types/pug": "^2.0.6",
"@types/uuid": "^8.0.0",
"copyfiles": "^2.3.0",
"eslint-config-tools": "workspace:*",
"npm-run-all": "^4.1.5",
"prisma": "^4.12.0",
"rimraf": "^4.1.2",
"tools-tsconfig": "workspace:*",
"tsup": "^6.2.3"
},
"tsup": {
"entry": [
"src/app.ts"
],
"format": [
"esm"
],
"dts": {
"resolve": true
},
"splitting": false,
"clean": true,
"sourcemap": true
}
}