micro/packages/api/package.json

95 lines
3.0 KiB
JSON

{
"name": "@ryanke/micro-api",
"version": "1.0.0",
"repository": "https://github.com/sylv/micro.git",
"author": "Ryan <ryan@sylver.me>",
"license": "GPL-3.0",
"private": true,
"engine": {
"node": ">=16"
},
"scripts": {
"watch": "tsup src/main.ts src/migrations/* --watch --onSuccess \"node dist/main.js\" --target node16",
"build": "rm -rf ./dist && ncc build src/main.ts -o dist --minify --transpile-only --v8-cache --no-source-map-register",
"lint": "eslint src --fix --cache",
"test": "jest"
},
"dependencies": {
"@fastify/cookie": "^6.0.0",
"@fastify/helmet": "^8.0.0",
"@fastify/multipart": "^6.0.0",
"@jenyus-org/nestjs-graphql-utils": "^1.6.4",
"@mikro-orm/core": "^5.2.2",
"@mikro-orm/migrations": "^5.2.2",
"@mikro-orm/nestjs": "^5.0.2",
"@mikro-orm/postgresql": "^5.2.2",
"@nestjs/common": "^8.4.4",
"@nestjs/core": "^8.4.4",
"@nestjs/graphql": "^10.0.16",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mercurius": "^10.0.16",
"@nestjs/passport": "^8.2.1",
"@nestjs/platform-fastify": "^8.4.4",
"@nestjs/schedule": "^1.1.0",
"@ryanke/thumbnail-generator": "workspace:^0.0.1",
"@ryanke/venera": "^0.0.2",
"@types/nodemailer": "^6.4.4",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"content-range": "^2.0.2",
"dedent": "^0.7.0",
"escape-string-regexp": "^4",
"fastify": "^3.29.0",
"file-type": "^16",
"get-stream": "^6.0.1",
"graphql": "^16.5.0",
"handlebars": "^4.7.7",
"istextorbinary": "^6.0.0",
"luxon": "^2.3.2",
"mercurius": "^9",
"mime-types": "^2.1.35",
"ms": "^3.0.0-canary.1",
"nanoid": "^3.3.4",
"nodemailer": "^6.7.6",
"normalize-url": "^6",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.5",
"sharp": "^0.30.4",
"stream-size": "^0.0.6",
"xbytes": "^1.7.0"
},
"devDependencies": {
"@mikro-orm/cli": "^5.2.2",
"@swc/core": "^1.2.208",
"@sylo-digital/scripts": "^1.0.2",
"@types/bcrypt": "^5.0.0",
"@types/dedent": "^0.7.0",
"@types/jest": "^28.1.4",
"@types/luxon": "^2.3.2",
"@types/mime-types": "^2.1.1",
"@types/node": "16",
"@types/passport-jwt": "^3.0.6",
"@types/passport-local": "^1.0.34",
"@types/sharp": "^0.30.2",
"@vercel/ncc": "^0.34.0",
"jest": "^28.1.2",
"pretty-bytes": "^6.0.0",
"ts-node": "^10.8.2",
"tsup": "^6.1.3",
"typescript": "^4.7.4"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/orm.ts",
"./dist/orm.js"
]
},
"jest": {
"preset": "@sylo-digital/scripts/jest/node"
}
}