3b7e55d957
API calls can now make with a simple wrapper function. Additionally, the error code "200" now means success for all API calls.
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "lateinicusserver",
|
|
"version": "1.3.0",
|
|
"description": "The backend server for Lateinicus",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "node dist/main.js",
|
|
"build": "tsc -p tsconfig.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitlab.com/Polynomdivision/lateinicusserver.git"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://gitlab.com/Polynomdivision/lateinicusserver/issues"
|
|
},
|
|
"homepage": "https://gitlab.com/Polynomdivision/lateinicusserver#readme",
|
|
"dependencies": {
|
|
"body-parser": "1.18.3",
|
|
"cors": "^2.8.4",
|
|
"express": "4.16.3",
|
|
"mongodb": "^3.1.6",
|
|
"profanity-util": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.4",
|
|
"@types/express": "4.16.0",
|
|
"@types/mongodb": "^3.1.9",
|
|
"ts-loader": "^5.1.1",
|
|
"typescript": "3.0.3",
|
|
"webpack": "^4.19.1",
|
|
"webpack-cli": "^3.1.0"
|
|
}
|
|
}
|