-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.64 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
{
"name": "react-express-jwt",
"version": "1.0.0",
"description": "",
"main": "dist/server.js",
"files": [
"dist",
".env.production",
"ChangeLog.md",
"docker-compose.yml",
"Dockerfile",
"tsconfig.json"
],
"scripts": {
"test": "DOTENV_CONFIG_PATH=.env.test NODE_ENV=test mocha --check-leaks -r ts-node/register -r tsconfig-paths/register -r dotenv/config tests/**/*.test.ts",
"dev": "DOTENV_CONFIG_PATH=.env.development NODE_ENV=dev ts-node -r tsconfig-paths/register -r dotenv/config src/server.ts",
"build": "tsc -p .",
"start:prod": "DOTENV_CONFIG_PATH=.env.production NODE_ENV=production TS_NODE_BASEURL=./dist node -r tsconfig-paths/register -r dotenv/config ./dist/server.js",
"start": "npm run build && npm run start:prod",
"watch": "DOTENV_CONFIG_PATH=.env.development NODE_ENV=dev nodemon -r dotenv/config -r tsconfig-paths/register src/server.ts",
"lint": "eslint .",
"coverage": "DOTENV_CONFIG_PATH=.env.test NODE_ENV=test nyc mocha --check-leaks -r ts-node/register -r tsconfig-paths/register -r dotenv/config tests/**/*.test.ts",
"pipe:coverage": "npm run coverage && node coverage-results.mjs 100"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcryptjs": "^2.4.3",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-validator": "^6.14.2",
"helmet": "^5.1.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.4.0",
"cors": "^2.8.5",
"tsconfig-paths": "^4.0.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.3.1",
"@types/cors": "^2.8.12",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/sinon": "^10.0.11",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"chai": "^4.3.6",
"deep-equal-in-any-order": "^1.1.19",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-tsdoc": "^0.2.16",
"mocha": "^10.0.0",
"nodemon": "^2.0.18",
"nyc": "^15.1.0",
"sinon": "^14.0.0",
"supertest": "^6.2.3",
"ts-node": "^10.8.1",
"typescript": "^4.7.4"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src"
],
"exclude": [
"src/server.ts",
"src/app.ts",
"**/*.d.ts",
"**/*.test.ts",
"mongo-storage",
"src/middleware/auth-middleware.ts"
],
"reporter": [
"html",
"text",
"json-summary"
],
"all": true
},
"private": true
}