2020-11-28 19:31:04 +01:00
|
|
|
{
|
2021-04-22 23:29:06 +02:00
|
|
|
"name": "@fosscord/api",
|
2021-01-01 22:26:20 +01:00
|
|
|
"version": "1.0.0",
|
2021-02-06 10:06:37 +01:00
|
|
|
"description": "This repository contains the HTTP API Server",
|
2021-10-07 18:21:17 +02:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"types": "src/index.ts",
|
2021-01-01 22:26:20 +01:00
|
|
|
"scripts": {
|
2021-09-18 01:50:20 +02:00
|
|
|
"test:only": "jest --coverage --verbose --forceExit ./tests",
|
2021-10-04 21:57:24 +02:00
|
|
|
"test:routes": "jest --coverage --verbose --forceExit ./routes.test.ts",
|
2021-09-17 23:42:40 +02:00
|
|
|
"test": "npm run build && npm run test:only",
|
2021-03-30 15:39:00 +02:00
|
|
|
"test:watch": "jest --watch",
|
2021-09-18 01:50:20 +02:00
|
|
|
"start": "npm run build && node dist/start",
|
2021-10-10 11:03:04 +02:00
|
|
|
"build": "npx tsc -p .",
|
2021-09-01 23:35:20 +02:00
|
|
|
"dev": "tsnd --respawn src/start.ts",
|
2021-09-23 16:03:50 +02:00
|
|
|
"patch": "ts-patch install -s && npx patch-package",
|
2021-09-12 23:28:56 +02:00
|
|
|
"postinstall": "npm run patch",
|
2021-09-26 11:34:06 +02:00
|
|
|
"generate:docs": "node scripts/generate_openapi",
|
|
|
|
"generate:schema": "node scripts/generate_schema"
|
2021-01-01 22:26:20 +01:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-08-13 13:18:45 +02:00
|
|
|
"url": "git+https://github.com/fosscord/fosscord-server.git"
|
2021-01-01 22:26:20 +01:00
|
|
|
},
|
2021-04-22 23:29:06 +02:00
|
|
|
"keywords": [
|
|
|
|
"discord",
|
|
|
|
"fosscord",
|
2021-08-13 13:18:45 +02:00
|
|
|
"fosscord-server",
|
2021-04-22 23:29:06 +02:00
|
|
|
"fosscord-api",
|
|
|
|
"discord open source",
|
|
|
|
"discord-open-source"
|
|
|
|
],
|
|
|
|
"author": "Fosscord",
|
2021-01-01 22:26:20 +01:00
|
|
|
"license": "ISC",
|
|
|
|
"bugs": {
|
2021-08-13 13:18:45 +02:00
|
|
|
"url": "https://github.com/fosscord/fosscord-server/issues"
|
2021-01-01 22:26:20 +01:00
|
|
|
},
|
2021-08-13 13:18:45 +02:00
|
|
|
"homepage": "https://fosscord.com",
|
2021-08-15 13:53:21 +02:00
|
|
|
"devDependencies": {
|
2021-09-18 01:50:20 +02:00
|
|
|
"@babel/core": "^7.15.5",
|
2021-10-15 13:00:23 +02:00
|
|
|
"@babel/preset-env": "^7.15.8",
|
|
|
|
"@babel/preset-typescript": "^7.15.0",
|
2021-08-15 00:10:54 +02:00
|
|
|
"@types/amqplib": "^0.8.1",
|
|
|
|
"@types/bcrypt": "^5.0.0",
|
|
|
|
"@types/express": "^4.17.9",
|
|
|
|
"@types/i18next-node-fs-backend": "^2.1.0",
|
2021-08-27 11:10:42 +02:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-09-20 23:34:54 +02:00
|
|
|
"@types/jest-expect-message": "^1.0.3",
|
2021-08-15 00:10:54 +02:00
|
|
|
"@types/jsonwebtoken": "^8.5.0",
|
2021-10-15 13:00:23 +02:00
|
|
|
"@types/morgan": "^1.9.3",
|
2021-08-15 00:10:54 +02:00
|
|
|
"@types/multer": "^1.4.5",
|
|
|
|
"@types/node": "^14.17.9",
|
|
|
|
"@types/node-fetch": "^2.5.7",
|
2021-09-18 01:50:20 +02:00
|
|
|
"@types/supertest": "^2.0.11",
|
2021-08-15 00:10:54 +02:00
|
|
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
2021-10-15 23:51:31 +02:00
|
|
|
"jest": "^27.2.5",
|
2021-09-20 23:34:54 +02:00
|
|
|
"jest-expect-message": "^1.0.2",
|
|
|
|
"jest-runtime": "^27.2.1",
|
2021-08-15 13:53:21 +02:00
|
|
|
"ts-node": "^9.1.1",
|
|
|
|
"ts-node-dev": "^1.1.6",
|
2021-09-18 01:50:20 +02:00
|
|
|
"ts-patch": "^1.4.4",
|
2021-09-01 23:35:20 +02:00
|
|
|
"typescript": "^4.4.2",
|
2021-10-15 13:00:23 +02:00
|
|
|
"typescript-json-schema": "0.50.1"
|
2021-08-15 13:53:21 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-10-15 13:03:23 +02:00
|
|
|
"@babel/preset-env": "^7.15.8",
|
|
|
|
"@babel/preset-typescript": "^7.15.0",
|
2021-08-15 13:53:21 +02:00
|
|
|
"@fosscord/util": "file:../util",
|
2021-09-16 20:55:50 +02:00
|
|
|
"ajv": "8.6.2",
|
2021-09-12 23:28:56 +02:00
|
|
|
"ajv-formats": "^2.1.1",
|
2021-08-11 19:43:27 +02:00
|
|
|
"amqplib": "^0.8.0",
|
2021-05-20 03:39:31 +02:00
|
|
|
"assert": "^1.5.0",
|
2021-05-22 22:55:45 +02:00
|
|
|
"bcrypt": "^5.0.1",
|
2021-02-02 00:51:00 +01:00
|
|
|
"body-parser": "^1.19.0",
|
2021-10-10 11:03:04 +02:00
|
|
|
"cheerio": "^1.0.0-rc.10",
|
2021-02-16 13:30:53 +01:00
|
|
|
"dotenv": "^8.2.0",
|
2021-01-01 22:26:20 +01:00
|
|
|
"express": "^4.17.1",
|
2021-05-30 01:44:09 +02:00
|
|
|
"form-data": "^3.0.0",
|
2021-09-20 23:34:54 +02:00
|
|
|
"i18next": "^19.9.2",
|
2021-05-22 22:55:45 +02:00
|
|
|
"i18next-http-middleware": "^3.1.3",
|
2021-02-02 00:51:00 +01:00
|
|
|
"i18next-node-fs-backend": "^2.1.3",
|
2021-10-10 11:03:04 +02:00
|
|
|
"image-size": "^1.0.0",
|
2021-01-30 19:58:15 +01:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2021-10-15 13:00:23 +02:00
|
|
|
"lambert-server": "^1.2.12",
|
2021-10-16 21:48:57 +02:00
|
|
|
"missing-native-js-functions": "^1.2.18",
|
2021-09-18 18:13:15 +02:00
|
|
|
"morgan": "^1.10.0",
|
2021-06-28 18:43:50 +02:00
|
|
|
"multer": "^1.4.2",
|
2021-08-27 11:10:42 +02:00
|
|
|
"node-fetch": "^2.6.1",
|
2021-09-01 23:35:20 +02:00
|
|
|
"patch-package": "^6.4.7",
|
2021-08-30 16:12:05 +02:00
|
|
|
"supertest": "^6.1.6",
|
2021-10-10 11:03:04 +02:00
|
|
|
"typeorm": "^0.2.37"
|
2021-08-30 16:12:05 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
2021-08-30 16:21:54 +02:00
|
|
|
"setupFiles": [
|
2021-09-01 22:13:27 +02:00
|
|
|
"<rootDir>/jest/setup.js"
|
2021-08-30 16:12:05 +02:00
|
|
|
],
|
2021-09-20 23:34:54 +02:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"jest-expect-message"
|
|
|
|
],
|
2021-09-18 01:50:20 +02:00
|
|
|
"globalSetup": "<rootDir>/jest/globalSetup.js",
|
2021-08-30 16:12:05 +02:00
|
|
|
"verbose": true
|
2021-01-01 22:26:20 +01:00
|
|
|
}
|
2020-11-28 19:31:04 +01:00
|
|
|
}
|