summary refs log tree commit diff
path: root/api/package.json
blob: f4614c90b8b686bd608b32143b4d4098221a5338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
	"name": "@fosscord/api",
	"version": "1.0.0",
	"description": "This repository contains the HTTP API Server",
	"main": "dist/index.js",
	"types": "src/index.ts",
	"scripts": {
		"test:only": "jest --coverage --verbose --forceExit ./tests",
		"test:routes": "jest --coverage --verbose --forceExit ./routes.test.ts",
		"test": "npm run build && npm run test:only",
		"test:watch": "jest --watch",
		"start": "npm run build && node dist/start",
		"build": "npx tsc -p .",
		"dev": "tsnd --respawn src/start.ts",
		"patch": "ts-patch install -s && npx patch-package",
		"postinstall": "npm run patch",
		"generate:docs": "node scripts/generate_openapi",
		"generate:schema": "node scripts/generate_schema"
	},
	"repository": {
		"type": "git",
		"url": "git+https://github.com/fosscord/fosscord-server.git"
	},
	"keywords": [
		"discord",
		"fosscord",
		"fosscord-server",
		"fosscord-api",
		"discord open source",
		"discord-open-source"
	],
	"author": "Fosscord",
	"license": "GPLV3",
	"bugs": {
		"url": "https://github.com/fosscord/fosscord-server/issues"
	},
	"homepage": "https://fosscord.com",
	"devDependencies": {
		"@babel/core": "^7.15.5",
		"@babel/preset-env": "^7.15.8",
		"@babel/preset-typescript": "^7.15.0",
		"@types/amqplib": "^0.8.1",
		"@types/bcrypt": "^5.0.0",
		"@types/express": "^4.17.9",
		"@types/i18next-node-fs-backend": "^2.1.0",
		"@types/jest": "^27.0.1",
		"@types/jest-expect-message": "^1.0.3",
		"@types/jsonwebtoken": "^8.5.0",
		"@types/morgan": "^1.9.3",
		"@types/multer": "^1.4.5",
		"@types/node": "^14.17.9",
		"@types/node-fetch": "^2.5.7",
		"@types/supertest": "^2.0.11",
		"@zerollup/ts-transform-paths": "^1.7.18",
		"jest": "^27.2.5",
		"jest-expect-message": "^1.0.2",
		"jest-runtime": "^27.2.1",
		"ts-node": "^9.1.1",
		"ts-node-dev": "^1.1.6",
		"ts-patch": "^1.4.4",
		"typescript": "^4.4.2",
		"typescript-json-schema": "0.50.1"
	},
	"dependencies": {
		"@babel/preset-env": "^7.15.8",
		"@babel/preset-typescript": "^7.15.0",
		"@fosscord/util": "file:../util",
		"@sentry/node": "^6.16.1",
		"@sentry/tracing": "^6.16.1",
		"ajv": "8.6.2",
		"ajv-formats": "^2.1.1",
		"amqplib": "^0.8.0",
		"assert": "^1.5.0",
		"bcrypt": "^5.0.1",
		"body-parser": "^1.19.0",
		"cheerio": "^1.0.0-rc.10",
		"dotenv": "^8.2.0",
		"express": "^4.17.1",
		"form-data": "^3.0.0",
		"i18next": "^19.9.2",
		"i18next-http-middleware": "^3.1.3",
		"i18next-node-fs-backend": "^2.1.3",
		"image-size": "^1.0.0",
		"jsonwebtoken": "^8.5.1",
		"lambert-server": "^1.2.12",
		"missing-native-js-functions": "^1.2.18",
		"morgan": "^1.10.0",
		"multer": "^1.4.2",
		"node-fetch": "^3.1.1",
		"patch-package": "^6.4.7",
		"picocolors": "^1.0.0",
		"proxy-agent": "^5.0.0",
		"supertest": "^6.1.6",
		"typeorm": "^0.2.37"
	},
	"jest": {
		"setupFiles": [
			"<rootDir>/jest/setup.js"
		],
		"setupFilesAfterEnv": [
			"jest-expect-message"
		],
		"globalSetup": "<rootDir>/jest/globalSetup.js",
		"verbose": true
	}
}