-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.19 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
{
"name": "@fcc-cdc/ows-be",
"version": "2.1.0",
"private": true,
"author": "[email protected]",
"homepage": "https://web-conf.leanapp.cn",
"repository": {
"type": "git",
"url": "git+https://github.com/FreeCodeCamp-Chengdu/OWS_BE.git"
},
"bugs": {
"url": "https://github.com/FreeCodeCamp-Chengdu/OWS_BE/issues"
},
"main": "dist/index.js",
"engines": {
"node": "^12.0.0"
},
"dependencies": {
"@fcc-cdc/it-events": "^1.0.1",
"@koa/multer": "^2.0.2",
"class-transformer": "^0.2.3",
"class-validator": "0.10.1",
"iterable-observer": "^1.0.0-beta.4",
"jsdom": "^16.2.2",
"kcors": "^2.2.2",
"koa": "^2.12.0",
"koa-bodyparser": "^4.3.0",
"koa-logger": "^3.2.1",
"koa-router": "^8.0.8",
"leancloud-storage": "^3.15.0",
"leanengine": "^3.6.0",
"mail-notifier": "^0.5.0",
"multer": "^1.4.2",
"node-schedule": "^1.3.2",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.8.1",
"ts-polyfill": "^3.8.2"
},
"devDependencies": {
"@types/jsdom": "^16.2.3",
"@types/koa": "^2.11.3",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-logger": "^3.1.1",
"@types/koa-router": "^7.4.1",
"@types/node-schedule": "^1.3.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,json,yml,ts}": [
"prettier --write"
]
},
"scripts": {
"test": "lint-staged",
"dev": "nodemon --inspect --watch source/**/* -e ts --exec node -r ts-node/register source/",
"build": "tsc --skipLibCheck",
"deploy": "lint-staged && tsc && lean deploy",
"start": "node dist/"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm run build"
}
}
}