-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.15 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
{
"name": "mx-api-cache",
"version": "1.0.0",
"main": "src/index.js",
"author": "Dan Whitacre <dan@whitacre.dev>",
"license": "MIT",
"private": true,
"dependencies": {
"@azure/storage-blob": "^12.14.0",
"@azure/storage-queue": "^12.13.0",
"@hapi/boom": "^10.0.1",
"@hapi/hapi": "^21.3.2",
"@hapi/inert": "^7.1.0",
"@hapi/joi": "^17.1.1",
"@hapi/vision": "^7.0.2",
"@hapi/wreck": "^18.0.1",
"dotenv": "^16.3.1",
"fastify": "^4.18.0",
"hapi-cron": "^1.1.0",
"hapi-pino": "^12.1.0",
"hapi-swagger": "^17.0.0",
"joi": "^17.9.2",
"node-fetch": "^3.3.1"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"babel-jest": "^29.5.0",
"concurrently": "^8.2.0",
"esbuild": "^0.18.4",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"ngrok": "^5.0.0-beta.2",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"scripts": {
"test": "jest test",
"test:types": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "yarn lint --fix",
"build": "esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/mx-api-cache.js --keep-names=true --minify=false",
"build:watch": "yarn build --watch",
"build:docker": "docker-compose build mx-api-cache",
"dev": "concurrently -k -p \"[{name}]\" -n \"Build,API,Azurite,Mx-Sim\" -c \"cyan.bold,green.bold,red.bold,blue.bold\" \"yarn build:watch\" \"yarn start:watch\" \"yarn start:azurite\" \"yarn start:mx-sim\"",
"start": "node dist/mx-api-cache.js",
"start:watch": "nodemon -i test dist/mx-api-cache.js -w .env -w dist/mx-api-cache.js",
"start:ngrok": "ts-node .bin/ngrok.ts",
"start:docker": "docker-compose up --build -- mx-api-cache",
"start:azurite": "docker-compose up -- azurite",
"start:mx-sim": "docker-compose up -- mx-sim"
}
}