forked from eesast/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.72 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
{
"name": "sast-api",
"license": "MIT",
"private": true,
"scripts": {
"dev": "nodemon",
"dev:debug": "nodemon --debug",
"test": "mocha --require @babel/register test/**/*.ts --exit",
"test:debug": "yarn test --inspect-brk",
"build": "babel src -d build -x \".ts\" --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.5.5",
"bcrypt": "3.0.6",
"cors": "2.8.5",
"cwebp-bin": "5.1.0",
"debug": "4.1.1",
"dotenv": "8.1.0",
"express": "4.17.1",
"express-openapi-validator": "1.7.0",
"html-to-text": "5.1.1",
"is-image": "3.0.0",
"jsonwebtoken": "8.5.1",
"lodash.pick": "4.4.0",
"mkdirp": "0.5.1",
"mongoose": "5.6.12",
"morgan": "1.9.1",
"multer": "1.4.2",
"nodemailer": "6.3.0",
"uuid": "3.3.3"
},
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/node": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-numeric-separator": "7.2.0",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/preset-typescript": "7.3.3",
"@babel/register": "7.5.5",
"@types/bcrypt": "3.0.0",
"@types/chai": "4.2.1",
"@types/cors": "2.8.6",
"@types/debug": "4.1.5",
"@types/dotenv": "6.1.1",
"@types/express": "4.17.1",
"@types/html-to-text": "1.4.31",
"@types/jsonwebtoken": "8.3.3",
"@types/lodash.pick": "4.4.6",
"@types/mkdirp": "0.5.2",
"@types/mocha": "5.2.7",
"@types/mongoose": "5.5.17",
"@types/morgan": "1.7.37",
"@types/multer": "1.3.9",
"@types/nodemailer": "6.2.1",
"@types/supertest": "2.0.8",
"@types/uuid": "3.4.5",
"@typescript-eslint/eslint-plugin": "2.1.0",
"@typescript-eslint/parser": "2.1.0",
"chai": "4.2.0",
"cross-env": "5.2.1",
"eslint": "6.3.0",
"eslint-config-prettier": "6.2.0",
"husky": "3.0.5",
"lint-staged": "9.2.5",
"mocha": "6.2.0",
"nodemon": "1.19.2",
"prettier": "1.18.2",
"supertest": "4.0.2",
"typescript": "3.6.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn lint && yarn typecheck"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"nodemonConfig": {
"env": {
"DEBUG": "sast-api"
},
"watch": [
"src"
],
"ext": "ts,json",
"ignore": [
"src/**/*.test.ts"
],
"exec": "babel-node --extensions \".ts\" --config-file \"./.babelrc\" src/index.ts"
}
}