40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "voter",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "",
|
|
"keywords": [],
|
|
"author": "sam <sam@sleepycat.moe>",
|
|
"license": "Apache-2.0",
|
|
"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",
|
|
"typecheck": "tsc -noEmit",
|
|
"lint": "eslint src/",
|
|
"typeorm": "typeorm",
|
|
"migrate": "pnpm build && typeorm migration:run -d ./dist/db/index.js"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "^8.5.0",
|
|
"dotenv": "^16.3.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"
|
|
}
|
|
}
|