-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
153 lines (153 loc) · 5.4 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "express-rest-api",
"version": "0.0.1",
"description": "Express rest api starterkit using typeorm",
"main": "app.js",
"files": [
"dist/**/*"
],
"scripts": {
"eslint": "eslint --fix \"src/**/*.ts\"",
"prettier": "prettier --write \"src/**/*.ts\"",
"formatter": "npm run eslint && npm run prettier",
"ts-bin": "ts-node -r tsconfig-paths/register",
"ts-bin:dev": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development tsnd --poll --respawn --watch src/**/*.{ts} -r tsconfig-paths/register src/app.ts",
"ts-bin:test": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=test mocha -r ts-node -r tsconfig-paths/register",
"ts-bin:test:coverage": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=test nyc mocha -r ts-node -r tsconfig-paths/register",
"ts-bin:prod": "cross-env NODE_OPTIONS=--max_old_space_size=8192 tsc -P tsconfig.prod.json && tsc-alias",
"typeorm:seeding": "npm run ts-bin ./node_modules/typeorm-seeding/dist/cli.js",
"typeorm:cli": "npm run ts-bin ./node_modules/typeorm/cli.js",
"start": "node dist/app.js",
"start:pm2": "pm2 start dist/pm2.config.js",
"start:docker": "pm2-runtime dist/pm2.config.js",
"runner": "ts-node -T src/configs/config.runner.ts",
"cleanup": "rimraf dist",
"build": "npm run formatter && npm run cleanup && npm run ts-bin:prod && npm run runner",
"dev": "npm run runner && npm run ts-bin:dev",
"test": "npm run ts-bin:test",
"test:cov": "npm run ts-bin:test:coverage",
"seed:config": "npm run typeorm:seeding config",
"seed:runmig": "npm run ts-bin ./node_modules/typeorm-seeding/dist/cli.js seed",
"seed:runrollmig": "npm run orm:rollback && npm run orm:latest && npm run seed:runmig",
"seed:run": "npm run orm:latest && npm run seed:runmig",
"orm:rollback": "npm run typeorm:cli schema:drop",
"orm:latest": "npm run typeorm:cli migration:run",
"orm:list": "npm run typeorm:cli migration:show",
"orm:make": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:create --name"
},
"author": "Restu Wahyu Saputra",
"engines": {
"node": "14",
"npm": "6"
},
"maintainers": [
"Restu Wahyu Saputra"
],
"repository": {
"type": "git",
"url": "https://github.com/restuwahyu13/express-rest-api-clean-architecture"
},
"license": "MIT",
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"cloudinary": "^1.27.1",
"compression": "^1.7.4",
"consola": "^2.15.3",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"ejs": "^3.1.6",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-rate-limit": "^5.5.0",
"express-session": "^1.17.2",
"express-slow-down": "^1.4.0",
"express-useragent": "^1.0.15",
"helmet": "^4.6.0",
"hpp": "^0.2.3",
"http-graceful-shutdown": "^3.1.5",
"http-status-codes": "^2.1.4",
"ioredis": "^4.28.0",
"is-any-type": "0.0.4",
"jsonwebtoken": "^8.5.1",
"jwt-transform": "0.0.2",
"moment": "^2.29.1",
"morgan": "^1.10.0",
"multer": "^1.4.3",
"nocache": "^3.0.1",
"nodemailer": "^6.7.0",
"pg": "^8.7.3",
"reflect-metadata": "^0.1.13",
"reusify": "^1.0.4",
"swagger-ui-express": "^4.3.0",
"typedi": "^0.8.0",
"typeorm": "^0.2.41",
"typeorm-typedi-extensions": "^0.4.1"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.3.0",
"@types/compression": "^1.7.2",
"@types/connect-redis": "0.0.18",
"@types/consola": "^2.2.5",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/ejs": "^3.1.0",
"@types/eslint": "^7.28.2",
"@types/express": "^4.17.13",
"@types/express-rate-limit": "^5.1.3",
"@types/express-session": "^1.17.4",
"@types/express-slow-down": "^1.3.2",
"@types/express-useragent": "^1.0.2",
"@types/faker": "^5.5.9",
"@types/firebase": "^3.2.1",
"@types/hpp": "^0.2.2",
"@types/http-graceful-shutdown": "^2.3.0",
"@types/http-status-codes": "^1.2.0",
"@types/ioredis": "^4.27.8",
"@types/jsonwebtoken": "^8.5.5",
"@types/mocha": "^9.0.0",
"@types/moment": "^2.13.0",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node": "^16.11.6",
"@types/nodemailer": "^6.4.4",
"@types/pg": "^8.6.1",
"@types/rimraf": "^3.0.2",
"@types/shelljs": "^0.8.11",
"@types/sinon": "^10.0.11",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/parser": "^5.3.0",
"bunchee": "^1.8.2",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"cross-env": "^7.0.3",
"eslint": "^8.1.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-eslint-plugin": "^4.0.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-simple-import-sort": "^1.0.0",
"faker": "^5.5.3",
"mocha": "^9.1.3",
"node-mocks-http": "^1.11.0",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"sinon": "^13.0.1",
"swagger-cli": "^4.0.4",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.6.3",
"tsconfig-paths": "^3.11.0",
"tslib": "^2.3.1",
"typeorm-seeding": "^1.6.1",
"typescript": "^4.6.2"
}
}