43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
|
{
|
||
|
"name": "authsrv",
|
||
|
"version": "0.1.0",
|
||
|
"type": "module",
|
||
|
"description": "",
|
||
|
"keywords": [],
|
||
|
"author": "sam <sam@sleepycat.moe>",
|
||
|
"license": "Apache-2.0, MIT",
|
||
|
"main": "dist/index.js",
|
||
|
"scripts": {
|
||
|
"dev": "concurrently \"pnpm watch:build\" \"pnpm watch:dev\"",
|
||
|
"build": "swc src -d dist",
|
||
|
"watch:build": "swc src -w --out-dir dist",
|
||
|
"watch:dev": "nodemon --watch \"dist/**/*\" -e js ./dist/index.js",
|
||
|
"format": "prettier -w .",
|
||
|
"lint": "eslint src/",
|
||
|
"typeorm": "typeorm",
|
||
|
"migrate": "pnpm build && typeorm migration:run -d ./dist/db/index.js"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"argon2": "^0.30.3",
|
||
|
"dotenv": "^16.3.1",
|
||
|
"fastify": "^4.20.0",
|
||
|
"glob": "^10.3.3",
|
||
|
"pg": "^8.11.1",
|
||
|
"reflect-metadata": "^0.1.13",
|
||
|
"tslog": "^4.8.2",
|
||
|
"typeorm": "^0.3.17"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@swc/cli": "^0.1.62",
|
||
|
"@swc/core": "^1.3.70",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
||
|
"@typescript-eslint/parser": "^6.1.0",
|
||
|
"chokidar": "^3.5.3",
|
||
|
"concurrently": "^8.2.0",
|
||
|
"eslint": "^8.45.0",
|
||
|
"nodemon": "^3.0.1",
|
||
|
"prettier": "^3.0.0",
|
||
|
"typescript": "5.1.6"
|
||
|
}
|
||
|
}
|