-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) · 2.44 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": "mern-ts-api-server-template",
"version": "1.0.6",
"description": "Template for a full-featured MERN stack/Typescript & Swagger/InversifyJS APIs server with nodemon to monitor for any changes in your source and automatically restart Node server",
"main": "src/index.js",
"files": [
"bin",
"config",
"*.sh"
],
"scripts": {
"build": "npm up && tsc",
"b": "npm run build",
"prepack": "npm run build",
"start": "if-env NODE_ENV=production && npm run start:prd || npm run start:dev",
"start:dev": "cross-env-shell NODE_ENV=development \"nodemon --watch src/**/*.ts --watch config/*.json --exec ts-node src/index.ts\"",
"start:prd": "cross-env-shell NODE_ENV=production \"node bin/src/index.js\"",
"test": "if-env NODE_ENV=production && npm run test:prd || npm run test:dev",
"test:dev": "cross-env-shell NODE_ENV=development \"ts-node tests/index.ts\"",
"test:prd": "cross-env-shell NODE_ENV=production \"node bin/tests/index.js\"",
"swagger": "tsoa swagger && tsoa routes"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thanhptr/mern-ts-api-server-template.git"
},
"keywords": [
"MERN",
"mongo",
"mongoose",
"express",
"react",
"node",
"Typescript",
"Swagger",
"InversifyJS",
"nodemon"
],
"author": "[email protected]",
"license": "ISC",
"bugs": {
"url": "https://github.com/thanhptr/mern-ts-api-server-template/issues"
},
"homepage": "https://github.com/thanhptr/mern-ts-api-server-template#readme",
"devDependencies": {
"@types/body-parser": "^1.16.4",
"@types/config": "0.0.32",
"@types/debug": "0.0.29",
"@types/express": "^4.0.36",
"@types/inversify-binding-decorators": "^2.0.0",
"@types/inversify-express-utils": "^2.0.0",
"@types/method-override": "0.0.29",
"@types/mongoose": "^4.7.19",
"@types/node": "^8.0.19",
"@types/reflect-metadata": "0.0.5",
"mockgoose": "^7.3.3",
"nodemon": "^1.11.0",
"ts-node": "^3.3.0",
"typescript": "^2.4.2"
},
"dependencies": {
"body-parser": "^1.17.2",
"config": "^1.26.1",
"cross-env": "^5.0.4",
"express": "^4.15.3",
"if-env": "^1.0.0",
"inversify": "^4.3.0",
"inversify-binding-decorators": "^3.0.0",
"inversify-express-utils": "^4.0.0",
"method-override": "^2.3.9",
"mongoose": "^4.11.5",
"reflect-metadata": "^0.1.10",
"swagger-ui-dist": "^3.1.4",
"tsoa": "^1.3.3"
}
}