you can now just drop in a zip in /upload and it'll parse, handle and upload everything for you right now only the metadata is saved, so the actual file downloads aren't available, but that shouldn't be too hard to implement this is really hacky however, and dropping in a file with a malformed .sm or 2 .sms will likely make it have a panic attack definetly needs lots and lots of testing, it barely works
30 lines
785 B
JSON
30 lines
785 B
JSON
{
|
|
"name": "in-the-database-2",
|
|
"version": "0.0.0",
|
|
"description": "a site database for nitg modcharts",
|
|
"main": "built/index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"quickrun": "tsc && node built/index.js",
|
|
"build": "tsc"
|
|
},
|
|
"author": "oatmealine",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@types/express": "github:types/express",
|
|
"@types/mongoose": "^5.7.36",
|
|
"express": "^4.17.1",
|
|
"express-fileupload": "^1.2.0",
|
|
"mongoose": "^5.10.2",
|
|
"mongoose-int32": "^0.4.1",
|
|
"node-stream-zip": "^1.11.3",
|
|
"typescript": "^4.0.2",
|
|
"winston": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
"eslint": "^7.8.1"
|
|
}
|
|
}
|