-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpackage.json
73 lines (73 loc) · 2.02 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
{
"name": "typescript-rest-boilerplate",
"version": "0.0.1",
"description": "Boilerplate project for awesome typescript-rest library",
"repository": "https://github.com/vrudikov/typescript-rest-boilerplate.git",
"license": "MIT",
"scripts": {
"tsc": "tsc",
"start": "./node_modules/.bin/ts-node src/index.ts",
"start:in:docker": "node dist/index.js",
"start:cluster": "./node_modules/.bin/ts-node src/cluster.ts",
"build": "npm run clean && tsc && npm run swagger",
"clean": "rimraf dist",
"lint": "tslint ./src/**/*.ts ./test/**/*.ts",
"lint:fix": "tslint --fix ./src/**/*.ts ./test/**/*.ts -t verbose",
"pretest": "cross-env NODE_ENV=test npm run build && npm run lint",
"test": "cross-env NODE_ENV=test mocha --exit",
"test:coverage": "nyc npm run test",
"swagger": "swaggerGen -c ./swagger.config.yml"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "8.0.0",
"express": "^4.17.1",
"mongoose": "5.7.5",
"morgan": "1.9.1",
"passport-jwt": "^4.0.0",
"typescript-ioc": "^1.2.5",
"typescript-rest": "^2.2.0",
"typescript-rest-swagger": "^1.0.3"
},
"devDependencies": {
"@types/chai": "4.1.7",
"@types/cors": "2.8.4",
"@types/dotenv": "6.1.1",
"@types/express": "4.16.0",
"@types/mocha": "5.2.5",
"@types/mongodb": "3.1.27",
"@types/mongoose": "5.5.3",
"@types/morgan": "1.7.35",
"@types/passport-jwt": "^3.0.1",
"@types/request": "2.48.1",
"chai": "4.2.0",
"cross-env": "5.2.0",
"mocha": "5.2.0",
"nyc": "^14.1.1",
"request": "2.87.0",
"rimraf": "2.6.3",
"source-map-support": "0.5.9",
"ts-node": "7.0.1",
"tslint": "5.17.0",
"tslint-config-prettier": "^1.17.0",
"typescript": "3.5.1"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"report-dir": "./reports/coverage",
"sourceMap": true,
"instrument": true
}
}