-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 2.86 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
{
"name": "node-api-boilerplate",
"version": "1.0.0",
"description": "RESTful APIs using Express",
"private": true,
"author": "Vipul Wairagade",
"license": "MIT",
"scripts": {
"start": "cross-env-shell NODE_ENV=production npx babel-node src/index.js | cross-env-shell NODE_ENV=production rotate-logs --config=$INIT_CWD/src/configs/app-log.config.js | cross-env-shell NODE_ENV=production rotate-logs --config=$INIT_CWD/src/configs/http-request-log.config.js",
"dev": "cross-env-shell NODE_ENV=development nodemon --exec npx babel-node src/index.js",
"debug": "cross-env-shell NODE_ENV=development npx babel-node src/index.js",
"test": "jest --watch --coverage --coverageReporters=text-summary",
"test:ci": "jest --coverage --coverageReporters=text-summary",
"prepare": "husky install",
"commit": "cz",
"lint": "eslint . --ext .js",
"lint:fix": "npm run lint -- --fix",
"db": "cross-env-shell db-migrate -m '$INIT_CWD/db/migrations'",
"db:create": "npm run db db:create",
"db:drop": "npm run db db:drop",
"migrate:up": "npm run db up:migrate",
"migrate:down": "npm run db down:migrate",
"migrate:create": "npm run db create:migrate",
"migrate:reset": "npm run db reset:migrate",
"seed:up": "npm run db up:seed",
"seed:down": "npm run db down:seed",
"seed:create": "npm run db create:seed"
},
"dependencies": {
"@babel/core": "^7.20.12",
"@babel/node": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@babel/register": "^7.18.9",
"@vrbo/pino-rotating-file": "^4.3.0",
"aws-sdk": "^2.1289.0",
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"crypto-js": "^4.1.1",
"db-migrate": "^0.11.13",
"db-migrate-mysql8": "^1.0.1",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-pino-logger": "^7.0.0",
"google-libphonenumber": "^3.2.31",
"handlebars": "^4.7.7",
"helmet": "^6.0.1",
"http-errors": "~2.0.0",
"http-status-codes": "^2.2.0",
"jest": "^29.3.1",
"joi": "^17.7.0",
"jsonwebtoken": "^9.0.0",
"kafka-node": "^5.0.0",
"multer": "^1.4.4",
"mysql2": "^2.3.3",
"nodemailer": "^6.8.0",
"openapi-types": "^7.2.3",
"pino": "^6.14.0",
"randomatic": "^3.1.1",
"swagger-ui-express": "^4.1.4",
"timekeeper": "^2.2.0",
"util": "^0.12.2"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"commitizen": "^4.2.6",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-vipul-base": "^1.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.4",
"lint-staged": "^12.5.0",
"nodemon": "^2.0.20",
"pino-pretty": "^5.1.3",
"prettier": "^2.8.1"
},
"imports": {
"#configs/*": "./src/configs/*.js",
"#constants/*": "./src/constants/*.js",
"#helpers/*": "./src/helpers/*.js",
"#middlewares/*": "./src/middlewares/*.js",
"#utils/*": "./src/utils/*.js"
}
}