You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
- upgrade to latest packages
- cast `req.user` as `UserDocument`
- update logger to use latest Winston syntax
- disable `no-inferrable-types`, Mongoose use unified topology
Thx to @CarlosSolrac
"build": "npm run build-sass && npm run build-ts && npm run lint && npm run copy-static-assets",
14
-
"serve": "node dist/server.js",
15
-
"watch-node": "nodemon dist/server.js",
16
-
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\"\"npm run watch-sass\"\"npm run watch-ts\"\"npm run watch-node\"",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\"\"npm run watch-sass\"\"npm run watch-ts\"\"npm run serve-debug\""
28
-
},
29
-
"dependencies": {
30
-
"async": "^3.0.1",
31
-
"bcrypt-nodejs": "^0.0.3",
32
-
"bluebird": "^3.5.5",
33
-
"body-parser": "^1.19.0",
34
-
"compression": "^1.7.4",
35
-
"connect-mongo": "^3.0.0",
36
-
"dotenv": "^8.0.0",
37
-
"errorhandler": "^1.5.1",
38
-
"express": "^4.17.1",
39
-
"express-flash": "0.0.2",
40
-
"express-session": "^1.16.2",
41
-
"express-validator": "^6.0.1",
42
-
"fbgraph": "^1.4.4",
43
-
"lodash": "^4.17.13",
44
-
"lusca": "^1.6.1",
45
-
"mongoose": "^5.6.0",
46
-
"nodemailer": "^6.2.1",
47
-
"passport": "^0.4.0",
48
-
"passport-facebook": "^3.0.0",
49
-
"passport-local": "^1.0.0",
50
-
"pug": "^2.0.4",
51
-
"request": "^2.88.0",
52
-
"request-promise": "^4.2.4",
53
-
"winston": "^2.4.2"
54
-
},
55
-
"devDependencies": {
56
-
"@types/async": "^3.0.0",
57
-
"@types/bcrypt-nodejs": "^0.0.30",
58
-
"@types/bluebird": "^3.5.27",
59
-
"@types/body-parser": "^1.17.0",
60
-
"@types/chai": "^4.1.7",
61
-
"@types/compression": "^0.0.36",
62
-
"@types/connect-mongo": "^0.0.42",
63
-
"@types/dotenv": "^6.1.1",
64
-
"@types/errorhandler": "^0.0.32",
65
-
"@types/express": "^4.17.0",
66
-
"@types/express-flash": "0.0.0",
67
-
"@types/express-session": "^1.15.13",
68
-
"@types/jest": "^24.0.15",
69
-
"@types/jquery": "^3.3.29",
70
-
"@types/lodash": "^4.14.134",
71
-
"@types/lusca": "^1.6.0",
72
-
"@types/mongodb": "^3.1.28",
73
-
"@types/mongoose": "^5.5.6",
74
-
"@types/morgan": "^1.7.35",
75
-
"@types/node": "^12.0.10",
76
-
"@types/nodemailer": "^6.2.0",
77
-
"@types/passport": "^1.0.0",
78
-
"@types/passport-facebook": "^2.1.9",
79
-
"@types/passport-local": "^1.0.33",
80
-
"@types/request": "^2.48.1",
81
-
"@types/shelljs": "^0.8.5",
82
-
"@types/supertest": "^2.0.7",
83
-
"@types/winston": "^2.3.9",
84
-
"@typescript-eslint/eslint-plugin": "^1.12.0",
85
-
"@typescript-eslint/parser": "^1.12.0",
86
-
"chai": "^4.2.0",
87
-
"concurrently": "^4.1.0",
88
-
"eslint": "^5.0.0",
89
-
"jest": "^24.8.0",
90
-
"node-sass": "^4.12.0",
91
-
"nodemon": "^1.19.1",
92
-
"shelljs": "^0.8.3",
93
-
"supertest": "^4.0.2",
94
-
"ts-jest": "^24.0.2",
95
-
"ts-node": "^8.3.0",
96
-
"typescript": "^3.5.2"
97
-
}
2
+
"name": "express-typescript-starter",
3
+
"version": "0.1.0",
4
+
"description": "A starting point for Node.js express apps with TypeScript",
"build": "npm run build-sass && npm run build-ts && npm run lint && npm run copy-static-assets",
14
+
"serve": "node dist/server.js",
15
+
"watch-node": "nodemon dist/server.js",
16
+
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\"\"npm run watch-sass\"\"npm run watch-ts\"\"npm run watch-node\"",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\"\"npm run watch-sass\"\"npm run watch-ts\"\"npm run serve-debug\""
0 commit comments