-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.38 KB
/
package.json
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
{
"name": "be-code-challenge",
"version": "1.0.0",
"description": "GAN Integrity backend code challenge",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start:server:bun": "bun ./dist/bun",
"start:server:express": "node ./dist/express",
"start:server:koa": "node ./dist/koa",
"build": "run-s compile copy-public",
"build:bun": "run-s compile:bun copy-public",
"compile": "npx tsc",
"compile:bun": "bun build ./src/bun --outdir=dist --target=bun",
"copy-public": "copyfiles src/public/** dist -u 1",
"deploy:bun": "run-s build:bun start:server:bun",
"deploy:express": "run-s build start:server:express",
"deploy:koa": "run-s build start:server:koa",
"dev:bun": "bun --watch ./src/bun",
"dev:express": "run-s build watch:express",
"dev:koa": "run-s build watch:koa",
"lint": "npx eslint . --max-warnings=0",
"test": "jest && bun test ./src/bun/app.test.ts",
"watch:express": "run-p watch:ts watch:node:express",
"watch:koa": "run-p watch:ts watch:node:koa",
"watch:node:express": "nodemon ./dist/express/index.js",
"watch:node:koa": "nodemon ./dist/koa/index.js",
"watch:ts": "npx tsc --watch"
},
"author": "GAN Integrity + Snater",
"license": "ISC",
"dependencies": {
"bun": "^1.1.8",
"cabin": "^13.2.6",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-joi-validation": "^5.0.1",
"fs-extra": "^11.2.0",
"joi": "^17.13.1",
"koa": "^2.15.3",
"koa-joi-router": "^8.0.0",
"lodash": "^4.17.21",
"node-fetch": "^2.7.0",
"signale": "^1.4.0",
"spherical": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@eslint/js": "^9.2.0",
"@stylistic/eslint-plugin": "^2.1.0",
"@types/bun": "^1.1.2",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/koa": "^2.15.0",
"@types/koa-joi-router": "^8.0.7",
"@types/lodash": "^4.17.1",
"@types/node": "^20.12.12",
"@types/signale": "^1.4.7",
"@types/supertest": "^6.0.2",
"babel-jest": "^29.7.0",
"copyfiles": "^2.4.1",
"eslint": "^9.2.0",
"jest": "^29.7.0",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"supertest": "^7.0.0",
"typescript": "^5.4.5",
"typescript-eslint": "^8.0.0-alpha.10"
},
"nodemonConfig": {
"ext": "js"
}
}