-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
105 lines (105 loc) · 2.67 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
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
{
"name": "lamp-server",
"version": "1.0.0",
"bin": "build/index.js",
"dependencies": {
"ajv": "^8.1.0",
"async-mutex": "^0.2.4",
"bull": "^3.29.3",
"cors": "^2.8.5",
"express": "^4.17.1",
"ioredis": "^4.22.0",
"mongodb": "^3.6.20",
"morgan": "^1.9.1",
"nano": "^10.1.3",
"nanoid": "^3.1.3",
"node-fetch": "^2.6.7",
"ts-nats": "^1.2.15"
},
"devDependencies": {
"@types/bson": "4.0.5",
"@types/bull": "^3.15.8",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/fs-extra": "^5.1.0",
"@types/ioredis": "^4.22.0",
"@types/jest": "^27.5.1",
"@types/mongodb": "^3.6.12",
"@types/morgan": "^1.9.2",
"@types/nano": "^7.0.0",
"@types/node": "^13.1.2",
"@types/node-fetch": "^2.6.1",
"@types/readable-stream": "^2.3.5",
"@types/request": "^2.48.4",
"@types/uniqid": "^4.1.3",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"dotenv": "^8.2.0",
"dotenv-cli": "^4.0.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.3",
"jest": "^28.1.0",
"lint-staged": "^15.0.2",
"prettier": "^2.8.8",
"rimraf": "^2.6.3",
"source-map-support": "^0.5.16",
"ts-jest": "^28.0.2",
"ts-node": "^9.1.1",
"typescript": "4.7.4"
},
"overrides": {
"tough-cookie": "4.1.3",
"semver": "7.6.0",
"pkg": "5.8.1",
"nodemon": "3.1.0",
"simple-update-notifier": "2.0.0"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"build": "rimraf build && tsc",
"coverage": "jest --coverage",
"dev": "docker compose up -d && nodemon --exec ts-node ./src/index.ts --watch src",
"deploy": "rimraf bin && pkg . -t node10-alpine-x64,node10-linux-x64,node10-macos-x64 --out-path bin/",
"start-sw": "dotenv node build/src/index.js",
"start": "npm run build && npm run start-sw",
"test": "jest --watch",
"lint": "eslint src/**/*.ts",
"prepare": "husky install"
},
"pkg": {
"scripts": [
"build/**/*.js",
"node_modules/vm2/lib/*.js"
],
"assets": "public/**/*"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"root": true
},
"prettier": {
"semi": false,
"printWidth": 120
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"globalSetup": "./src/test/setup.js"
},
"lint-staged": {
"**/*.ts": [
"tsc --noEmit"
]
}
}