-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
131 lines (131 loc) · 3.67 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "express-ecma-boilerplate-mongodb",
"description": "A minimalist express ecma boilerplate with mongodb",
"version": "1.1.1",
"private": false,
"license": "MIT",
"bin": "src/bin/www.js",
"main": "src/app.js",
"author": {
"name": "Giuseppe Albrizio",
"email": "[email protected]"
},
"engines": {
"node": ">=12.0.0"
},
"keywords": [
"express",
"node",
"node.js",
"mongodb",
"mongoose",
"passport",
"ecma",
"REST",
"API",
"boilerplate",
"generator",
"starter project",
"passport",
"eslint",
"jest",
"sendgrid",
"test"
],
"repository": {
"type": "git",
"url": "https://github.com/giuseppealbrizio/express-ecma-boilerplate-mongodb.git"
},
"scripts": {
"start": "npm run prod",
"prod": "cross-env NODE_ENV=production npm-run-all build server",
"build": "npm-run-all clean transpile",
"clean": "rimraf build",
"transpile": "babel src --out-dir build",
"server": "node ./build/bin/www",
"start:dev": "cross-env NODE_ENV=development nodemon --exec babel-node src/bin/www",
"lint": "eslint -c './.eslintrc' --ignore-path .gitignore --ext .js .",
"lint-and-fix": "eslint --ignore-path .gitignore --ext .js --fix .",
"lint-all": "eslint .",
"test": "cross-env NODE_ENV=test jest --verbose",
"prettier": "prettier --check **/*.js",
"prettier:fix": "prettier --write **/*.js"
},
"dependencies": {
"@google-cloud/pubsub": "^2.18.1",
"@sendgrid/mail": "^7.5.0",
"axios": "^0.24.0",
"bcryptjs": "^2.4.3",
"clean-deep": "^3.4.0",
"compression": "^1.7.4",
"connect-mongo": "^4.6.0",
"cookie-parser": "^1.4.5",
"core-js": "^3.19.0",
"cors": "^2.8.5",
"debug": "^4.3.2",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"express-mongo-sanitize": "^2.1.0",
"express-session": "^1.17.2",
"helmet": "^4.6.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mongodb": "^4.1.3",
"mongoose": "^6.0.12",
"mongoose-slug-generator": "^1.0.4",
"mongoose-type-url": "^2.1.0",
"morgan": "^1.10.0",
"multer": "^1.4.3",
"multer-cloud-storage": "^2.8.0",
"npm-run-all": "^4.1.5",
"passport": "^0.5.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^6.1.0",
"regenerator-runtime": "^0.13.9",
"slugify": "^1.6.1",
"swagger-ui-express": "^4.1.6",
"validator": "^13.7.0",
"winston": "^3.3.3",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/node": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/morgan": "^1.9.3",
"@types/passport": "^1.0.7",
"@types/passport-google-oauth20": "^2.0.10",
"@types/passport-oauth2": "^1.4.11",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.6.5",
"@types/winston": "^2.4.4",
"babel-plugin-module-resolver": "^4.1.0",
"cross-env": "^7.0.3",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.3.1",
"nodemon": "^2.0.14",
"prettier": "2.4.1",
"rimraf": "^3.0.2",
"supertest": "^6.1.6"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
]
}
}