-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·84 lines (84 loc) · 2.34 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
{
"name": "oneconnector",
"version": "1.0.0",
"description": "",
"main": "dist/app.js",
"scripts": {
"prebuild": "npx rimraf dist && npm run lint",
"build": "npx tsc --build tsconfig.json",
"build:cloud": "npx tsc --build tsconfig.json",
"lint": "npx eslint --fix ./src/**/*.ts",
"pretest": "npm run build",
"test": "npx jest --runInBand --config jest.config.json",
"test:ci": "npx jest --runInBand --config jest.config.json",
"presync": "npm run build",
"sync": "npx typeorm schema:sync --config dist/ormconfig.js",
"prestart": "npm run build",
"start": "node dist/app.js",
"preseed:up": "npm run build",
"seed:up": "node dist/seed.js up",
"preseed:down": "npm run build",
"seed:down": "node dist/seed.js down",
"start:cloud": "npx pm2-docker start ecosystem.config.js"
},
"files": [
"dist/**/*"
],
"author": "freedomsean <t101598009@ntut.org.tw>",
"dependencies": {
"amqplib": "^0.6.0",
"axios": "^0.19.0",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.3.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"fluent-logger": "^3.4.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"pg": "^8.3.3",
"redis": "^2.8.0",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.26",
"typeorm-naming-strategies": "^2.0.0",
"uuid": "^8.3.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/amqplib": "^0.5.13",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.7",
"@types/express": "^4.17.0",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.9",
"@types/passport": "^1.0.4",
"@types/passport-jwt": "^3.0.3",
"@types/redis": "^2.8.13",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsdoc": "^26.0.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-unicorn": "^20.1.0",
"husky": "^4.3.0",
"jest": "^26.0.1",
"lint-staged": "^10.2.7",
"prettier": "^2.1.2",
"supertest": "^5.0.0",
"typescript": "^4.0.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint",
"git add"
]
}
}