-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpackage.json
146 lines (146 loc) · 4.93 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
{
"version": "1.7.0",
"engines": {
"node": ">=18.19.0",
"npm": ">=10.2.3"
},
"author": "Steve Lebleu",
"license": "MIT",
"name": "typeplate",
"description": "REST API boilerplate builded with Typescript, Express.js, TypeORM and Mocha.",
"keywords": [
"node",
"express.js",
"typescript",
"typeorm",
"mysql",
"boilerplate",
"api",
"rest",
"restful",
"es2017",
"mocha"
],
"homepage": "https://github.com/steve-lebleu/typeplate#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/steve-lebleu/typeplate.git"
},
"bugs": {
"url": "https://github.com/steve-lebleu/typeplate/issues"
},
"main": "./dist/api/app.bootstrap.js",
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false
},
"scripts": {
"init": "npm-run-all -s init:*",
"init:install": "npm i [email protected] -g && npm i [email protected] -g && npm i rsgen -g && npm i ",
"init:copy": "cp .env.example .env.development && cp .env.example .env.test && cp .env.example .env.production",
"init:compile": "tsc",
"init:version": "rm -rf ./.git && git init && git add . --all && git commit -m \"First commit\"",
"ci:test": "nyc --reporter=lcov --report-dir=./reports/coverage npm-run-all -s test:*",
"doc": "apidoc -i src/ -o docs/apidoc/",
"lint": "eslint . --ext .ts",
"schema:drop": "npm run typeorm schema:drop -- -d dist/api/config/datasource.config.js",
"schema:sync": "npm run typeorm schema:drop -- -d dist/api/config/datasource.config.js",
"start": "nodemon .",
"test": "nyc --reporter=html --report-dir=./reports/nyc-coverage npm-run-all -s test:*",
"test:unit": "./node_modules/.bin/mocha ./test/units/00-application.unit.test.js --exit --reporter spec --timeout 10000 --env test",
"test:e2e": "npm run schema:drop && npm run schema:sync && ./node_modules/.bin/mocha ./test/e2e/00-api.e2e.test.js --exit --reporter spec --timeout 10000 --env test",
"typeorm": "npx typeorm ",
"version": "git add package.json && git add README.md && auto-changelog -p && git add CHANGELOG.md && git commit -m \"Update changelog\" --no-verify"
},
"_moduleAliases": {
"@core": "dist/api/core",
"@classes": "dist/api/core/types/classes",
"@config": "dist/api/config",
"@controllers": "dist/api/core/controllers",
"@decorators": "dist/api/core/types/decorators",
"@enums": "dist/api/core/types/enums",
"@errors": "dist/api/core/types/errors",
"@events": "dist/api/core/types/events",
"@factories": "dist/api/core/factories",
"@interfaces": "dist/api/core/types/interfaces",
"@middlewares": "dist/api/core/middlewares",
"@models": "dist/api/core/models",
"@repositories": "dist/api/core/repositories",
"@resources": "dist/api/resources",
"@routes": "dist/api/core/routes/v1",
"@schemas": "dist/api/core/types/schemas",
"@services": "dist/api/core/services",
"@shared": "dist/api/shared",
"@types": "dist/api/core/types/types",
"@utils": "dist/api/core/utils",
"@validations": "dist/api/core/validations"
},
"dependencies": {
"@hapi/boom": "9.1.4",
"bcrypt": "^5.1.1",
"cliam": "^2.2.11",
"compression": "^1.7.5",
"cors": "2.8.5",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"es6-promisify": "7.0.0",
"express": "4.21.2",
"express-rate-limit": "^7.5.0",
"filenamify": "^4.3.0",
"helmet": "^8.0.0",
"hpp": "0.2.3",
"http-status": "^1.8.1",
"jimp": "^1.6.0",
"joi": "^17.13.3",
"jwt-simple": "0.5.6",
"lodash": "4.17.21",
"memory-cache": "0.2.0",
"module-alias": "^2.2.3",
"morgan": "1.10.0",
"multer": "^1.4.5-lts.1",
"mysql": "2.18.1",
"passport": "^0.7.0",
"passport-facebook": "3.0.0",
"passport-github2": "0.1.12",
"passport-google-oauth": "2.0.0",
"passport-http-bearer": "1.0.1",
"passport-jwt": "4.0.1",
"passport-linkedin-oauth2": "2.0.0",
"pluralize": "8.0.0",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.0",
"uuid": "^11.0.5",
"winston": "^3.17.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/body-parser": "^1.19.5",
"@types/express": "^5.0.0",
"@types/express-rate-limit": "^6.0.2",
"@types/node": "^22.10.7",
"@types/passport": "1.0.7",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"apidoc": "0.50.2",
"auto-changelog": "^2.5.0",
"chai": "^4.4.1",
"chance": "^1.1.12",
"coveralls": "^3.1.1",
"eslint": "7.21.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "32.2.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"mocha": "^10.3.0",
"nodemon": "^3.1.9",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"rsgen": "^0.4.1",
"sinon": "^17.0.1",
"supertest": "^6.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
}
}