-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.33 KB
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
{
"name": "@a-block/intercom",
"version": "0.0.10",
"description": "A small utility server to exchange arbitrary data between clients",
"main": "dist/index.js",
"bin": "dist/index.js",
"scripts": {
"clean": "rimraf dist && rimraf logs",
"build": "npm run clean && esbuild src/index.ts --bundle --platform=node --target=node14.16.0 --outfile=dist/index.js",
"build:artifacts": "npm run build && npx pkg -t linux,macos,win . --out-path dist",
"check:typings": "npx tsc --noEmit",
"preserve": "npm run build",
"dev": "cross-env NODE_ENV=development LOG_LEVEL=silly BODY_LIMIT=500kb REQUEST_WINDOW=15 KEY_LIFETIME=9999 GET_RATE_LIMIT=9999 SET_RATE_LIMIT=9999 DEL_RATE_LIMIT=9999 REDIS_URL=redis://localhost:6379 SERVER_PORT=3002 ts-node-dev --respawn ./src/index.ts",
"start": "npm run build && cross-env NODE_ENV=production LOG_LEVEL=warn BODY_LIMIT=50kb REQUEST_WINDOW=15 KEY_LIFETIME=5 GET_RATE_LIMIT=150 SET_RATE_LIMIT=150 DEL_RATE_LIMIT=150 REDIS_URL=redis://localhost:6379 SERVER_PORT=3002 node dist/index.js",
"lint": "npx eslint . --ext .ts",
"prettier:format": "prettier --config .prettierrc 'src/**/*.ts' --write"
},
"author": "Anton Troskie",
"license": "MIT",
"dependencies": {
"@a-block/a-blockjs": "^1.2.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"helmet": "^5.1.0",
"http-errors": "^2.0.0",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"redis": "^4.1.0",
"tweetnacl": "^1.0.3",
"typescript": "^4.7.2",
"winston": "^3.7.2",
"winston-daily-rotate-file": "^4.7.1",
"winston-transport-sentry-node": "^2.3.0"
},
"devDependencies": {
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/http-errors": "^1.8.2",
"@types/lodash": "^4.14.182",
"@types/morgan": "^1.9.4",
"@types/node": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"concurrently": "^7.2.1",
"esbuild": "^0.14.42",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"pkg": "^5.7.0",
"prettier": "^2.6.2",
"ts-node-dev": "^2.0.0",
"tsc": "^2.0.4",
"rimraf": "^3.0.2"
}
}