-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 1.99 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
{
"name": "ma7eer-nodejs-api-boilerplate",
"version": "1.0.0",
"description": "My personal boilerplate for starting a node js api using Express and MongoDB",
"private": true,
"scripts": {
"start": "npm run prod",
"build": "npm-run-all clean transpile",
"server": "node ./dist-server/bin/www",
"prod-server": "node ./dist-server/cluster",
"dev": "cross-env NODE_ENV=development npm-run-all build server",
"prod": "cross-env NODE_ENV=production npm-run-all build prod-server",
"transpile": "babel ./server --out-dir dist-server",
"clean": "rimraf dist-server",
"watch:dev": "nodemon",
"lint": "eslint ./server",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|json|ts|tsx)\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"validate": "npm-run-all check-format lint build"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"nodemonConfig": {
"exec": "npm run dev",
"watch": [
"server/*"
],
"ignore": [
"**/__tests__/**",
"*.test.js",
"*.spec.js"
]
},
"dependencies": {
"compression": "^1.7.4",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^8.2.0",
"express": "~4.16.1",
"helmet": "^3.22.0",
"http-errors": "~1.6.3",
"mongoose": "^5.9.6",
"morgan": "~1.9.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"husky": "^4.2.3",
"lint-staged": "^10.0.9",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.2",
"rimraf": "^3.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/Ma7eer/Ma7eer-nodejs-api-boilerplate.git"
},
"keywords": [
"express",
"nodejs",
"boilerplate",
"api"
],
"author": "Maher Alkendi",
"license": "MIT"
}