initial commit

This commit is contained in:
Lee 2023-11-20 10:40:35 +00:00
parent f1c70494ad
commit 2dd25e250c
4 changed files with 1762 additions and 0 deletions

22
package.json Normal file

@ -0,0 +1,22 @@
{
"name": "ssr-backend",
"version": "1.0.0",
"description": "The backend for ScoreSaber Reloaded",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"start": "node dist/index.js",
"dev": "nodemon --exec ts-node src/index.ts"
},
"dependencies": {
"express": "^4.18.2",
"mongoose": "^8.0.1",
"tsup": "^8.0.0",
"typescript": "^5.2.2"
},
"devDependencies": {
"nodemon": "^3.0.1",
"ts-node": "^10.9.1"
}
}

1722
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

1
src/index.ts Normal file

@ -0,0 +1 @@
console.log("hi");

17
tsconfig.json Normal file

@ -0,0 +1,17 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"strict": true,
"noUncheckedIndexedAccess": true,
"module": "NodeNext",
"noEmit": true,
"lib": ["es2022", "dom", "dom.iterable"]
},
"exclude": ["node_modules", "dist"]
}