-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·106 lines (106 loc) · 3.35 KB
/
package.json
File metadata and controls
executable file
·106 lines (106 loc) · 3.35 KB
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
{
"name": "inversify-example",
"version": "1.0.0",
"description": "Example project using inversify",
"license": "MIT",
"repository": {
"url": "https://github.com/DmytryS/inversify-express-example.git"
},
"author": "Dmytry Shvaika",
"keywords": [
"typescript",
"project structure",
"inversify",
"nodejs"
],
"scripts": {
"start": "NODE_ENV=production node ./build/index.js",
"dev": "NODE_ENV=development nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' ./src/index.ts",
"test": "NODE_ENV=test mocha -r ts-node/register ./tests/**/*.spec.ts --exit",
"test:coverage": "nyc npm run test && nyc report --reporter=html --reporter=lcov",
"build": "ntsc && cp -r ./src/templates ./build/templates",
"format": "prettier --check 'src/**/*.{ts,json,md, gql}'",
"format:fix": "prettier --write 'src/**/*.{ts,json,md,gql}'",
"tslint": "tslint -p ./tsconfig.json",
"tslint:fix": "tslint --fix --format stylish -p ./tsconfig.json",
"lint": "npm run format && npm run tslint",
"lint:fix": "npm run format:fix && npm run tslint:fix"
},
"dependencies": {
"bcrypt": "^5.0.0",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"handlebars": "^4.7.6",
"handlebars-layouts": "^3.1.4",
"inversify": "^5.0.1",
"inversify-binding-decorators": "^4.0.0",
"inversify-express-utils": "^6.3.2",
"jsonwebtoken": "^8.5.1",
"log4js": "^6.3.0",
"moment": "^2.28.0",
"mongoose": "^5.10.5",
"nconf": "^0.10.0",
"nodemailer": "^6.4.11",
"ntypescript": "^1.201706190042.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"reflect-metadata": "^0.1.13",
"restify": "^8.5.1",
"restify-cors-middleware": "^1.1.1",
"restify-errors": "^8.0.2",
"swagger-express-ts": "^1.0.1",
"swagger-ui-dist": "^3.33.0",
"typegoose": "^5.9.1"
},
"devDependencies": {
"@hapi/joi": "^17.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/express": "^4.17.8",
"@types/inversify": "^2.0.33",
"@types/mocha": "^8.0.3",
"@types/node": "^14.10.1",
"@types/restify-errors": "^4.3.3",
"chai": "^4.2.0",
"mocha": "^8.1.3",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"prettier": "^2.1.1",
"should": "^13.2.3",
"sinon": "^9.0.3",
"sinon-chai": "^3.5.0",
"source-map-support": "^0.5.19",
"supertest": "^4.0.2",
"supertest-promised": "^1.0.0",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "^4.0.2"
},
"engines": {
"node": ">=4.1.1"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.spec.ts",
"src/libs/**/*"
],
"reporter": [
"text",
"lcov"
],
"all": true,
"branches": 90,
"lines": 90,
"functions": 90,
"statements": 90
}
}