forked from BIDMCDigitalPsychiatry/LAMP-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "lamp-server",
"version": "1.0.0",
"bin": "build/app.js",
"dependencies": {
"ajv": "^8.1.0",
"async-mutex": "^0.2.4",
"bull": "^3.18.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"ioredis": "^4.22.0",
"mongoose": "^5.12.2",
"morgan": "^1.9.1",
"nano": "^8.2.2",
"nanoid": "^3.1.3",
"node-fetch": "^2.6.1",
"ts-nats": "^1.2.15"
},
"devDependencies": {
"@types/bull": "^3.14.2",
"@types/cors": "^2.8.6",
"@types/dockerode": "^2.5.21",
"@types/express": "^4.17.2",
"@types/fs-extra": "^5.1.0",
"@types/morgan": "^1.7.37",
"@types/node": "^13.1.2",
"@types/node-fetch": "^2.5.5",
"@types/readable-stream": "^2.3.5",
"@types/request": "^2.48.4",
"@types/tar-stream": "^1.6.1",
"@types/uniqid": "^4.1.3",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"pkg": "^4.4.2",
"prettier": "^2.0.5",
"source-map-support": "^0.5.16",
"tsc-watch": "^1.1.39",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.7.4"
},
"scripts": {
"start": "tsc-watch --onSuccess \"node -r source-map-support/register ./build/app.js\"",
"build": "tsc",
"deploy": "pkg . -t node10-alpine-x64,node10-linux-x64,node10-macos-x64 --out-path bin/"
},
"pkg": {
"scripts": [
"build/**/*.js",
"node_modules/vm2/lib/*.js"
],
"assets": "public/**/*"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {
"prefer-const": "warn",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/consistent-type-assertions": "warn"
}
}
]
},
"prettier": {
"semi": false,
"printWidth": 120
}
}