forked from eesast/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.39 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
{
"name": "eesast-api",
"license": "MIT",
"private": true,
"scripts": {
"start": "nodemon",
"debug": "nodemon --debug",
"build": "babel src -d build -x \".ts\" --ignore \"src/@types/**/*\" --source-maps",
"serve": "cross-env NODE_ENV=production node build/index.js",
"lint": "eslint --ext .js,.ts src/",
"typecheck": "tsc --noUnusedLocals"
},
"dependencies": {
"@babel/runtime": "7.10.5",
"ali-oss": "6.10.0",
"bcrypt": "5.0.0",
"cors": "2.8.5",
"debug": "4.1.1",
"dotenv": "8.2.0",
"express": "4.17.1",
"html-to-text": "5.1.1",
"isemail": "3.2.0",
"jsonwebtoken": "8.5.1",
"mongoose": "5.9.25",
"morgan": "1.10.0",
"node-fetch": "2.6.0",
"nodemailer": "6.4.10"
},
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.10.5",
"@babel/node": "7.10.5",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
"@babel/plugin-proposal-numeric-separator": "7.10.4",
"@babel/plugin-proposal-object-rest-spread": "7.10.4",
"@babel/plugin-proposal-optional-chaining": "7.10.4",
"@babel/plugin-transform-runtime": "7.10.5",
"@babel/preset-env": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@types/ali-oss": "6.0.5",
"@types/bcrypt": "3.0.0",
"@types/cors": "2.8.6",
"@types/debug": "4.1.5",
"@types/express": "4.17.7",
"@types/html-to-text": "5.1.1",
"@types/jsonwebtoken": "8.5.0",
"@types/mongoose": "5.7.32",
"@types/morgan": "1.9.1",
"@types/node-fetch": "2.5.7",
"@types/nodemailer": "6.4.0",
"@typescript-eslint/eslint-plugin": "3.7.0",
"@typescript-eslint/parser": "3.7.0",
"cross-env": "7.0.2",
"eslint": "7.5.0",
"eslint-config-prettier": "6.11.0",
"husky": "4.2.5",
"lint-staged": "10.2.11",
"nodemon": "2.0.4",
"prettier": "2.0.5",
"typescript": "3.9.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn lint && yarn typecheck"
}
},
"lint-staged": {
"{src/**/*,test/**/*}.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"nodemonConfig": {
"env": {
"DEBUG": "eesast-api"
},
"watch": [
"src"
],
"ext": "ts,json",
"ignore": [
"src/**/*.test.ts"
],
"exec": "babel-node --extensions \".ts\" --config-file \"./.babelrc\" src/index.ts"
}
}