-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
100 lines (100 loc) · 2.88 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
{
"name": "emt-template",
"version": "1.0.0",
"description": "Express, Mongo, and Typescript Template Project",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/jdd1260/EMT-Template.git"
},
"author": "Joel Detweiler",
"license": "MIT",
"bugs": {
"url": "https://github.com/jdd1260/EMT-Template/issues"
},
"homepage": "https://github.com/jdd1260/EMT-Template#readme",
"engines": {
"node": ">=14.17",
"npm": ">=6.14.13",
"yarn": "^1.22.0"
},
"scripts": {
"start": "npm run watch",
"start:prod": "node dist/index.js",
"build": "npm run build-ts",
"build-ts": "tsc --diagnostics",
"test": "dotenv -e .env.test -- jest --runInBand --coverage --no-cache",
"test:watch": "dotenv -e .env.test -- jest --runInBand --watch --no-cache",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"watch-ts": "tsc -w",
"watch-node": "nodemon dist/index.js",
"lint": "eslint --fix src/**/*.{ts} && prettier --write src/**/*"
},
"dependencies": {
"@types/app-root-path": "^1.2.4",
"@types/axios": "^0.14.0",
"@types/bluebird": "^3.5.33",
"@types/cors": "^2.8.6",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.155",
"@types/mongoose": "5.10.3",
"app-root-path": "^3.0.0",
"axios": "^0.21.2",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-jwt": "^5.3.3",
"http-status-codes": "^1.4.0",
"joi": "^17.2.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"module-alias": "^2.2.2",
"mongoose": "5.10.3",
"morgan": "^1.10.0",
"serialize-error": "^8.1.0",
"tsconfig-paths": "^3.9.0",
"winston": "^3.2.1"
},
"devDependencies": {
"@shelf/jest-mongodb": "^1.2.1",
"@types/express": "^4.17.6",
"@types/jest": "^26.0.7",
"@types/module-alias": "^2.0.0",
"@types/morgan": "^1.9.0",
"@types/node": "^14.0.0",
"@types/supertest": "^2.0.9",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"concurrently": "^5.2.0",
"dotenv-cli": "^4.0.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.13.1",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.4",
"nock": "^12.0.3",
"nodemon": "^2.0.3",
"prettier": "^2.0.5",
"supertest": "^4.0.2",
"ts-jest": "^26.1.3",
"ts-node": "^8.10.1",
"typescript": "^3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts}": [
"eslint --fix",
"prettier --write"
]
}
}