This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
89 lines (89 loc) · 2.46 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
{
"name": "astros",
"version": "1.0.0",
"description": "Sample Node.js REST service for MongoDB with seamless integration with CosmosDB",
"engineStrict": false,
"engines": {
"node": ">= 8.0"
},
"main": "src/index.ts",
"scripts": {
"build": "webpack --config webpack.config.ts",
"postinstall": "webpack --config webpack.config.ts",
"start": "node app.js",
"start:dev": "dotenv -- nodemon -x ts-node -r tsconfig-paths/register -e ts src/index.ts",
"debug": "dotenv -- nodemon -x ts-node --inspect -r tsconfig-paths/register -e ts src/index.ts",
"clean": "rimraf dist build coverage",
"watch": "tsc -w -p tsconfig.json",
"lint": "tslint -t stylish --project tsconfig.json",
"pretest": "yarn lint",
"test": "rimraf coverage && jest --verbose",
"test:watch": "jest --watch",
"tslint-check": "tslint-config-prettier-check ./tslint.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"tslint --fix src/**/*.ts -t verbose",
"git add"
],
"*.{ts,json,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/express": "^4.11.1",
"@types/jest": "~22.2.3",
"@types/mongoose": "^5.0.13",
"@types/node": "~8.10.10",
"@types/sinon": "^4.3.3",
"@types/supertest": "^2.0.4",
"@types/swagger-jsdoc": "0.0.1",
"@types/winston": "^2.3.9",
"dotenv": "^5.0.1",
"dotenv-cli": "^1.4.0",
"jest": "~22.4.3",
"lint-staged": "^7.1.0",
"mockgoose": "^7.3.5",
"nodemon": "^1.17.4",
"prettier": "^1.12.1",
"rimraf": "~2.6.2",
"ts-jest": "~22.4.4",
"tsconfig-paths": "^3.3.2",
"tslint": "~5.10.0",
"tslint-config-prettier": "^1.12.0",
"yarn": "^1.6.0"
},
"dependencies": {
"@types/morgan": "^1.7.35",
"@types/webpack": "^4.1.6",
"body-parser": "^1.18.2",
"cors": "^2.8.4",
"express": "^4.16.3",
"http-status": "^1.1.2",
"husky": "^1.0.0-rc.3",
"kcors": "^2.2.1",
"koa-bodyparser": "^4.2.1",
"mongoose": "^5.0.17",
"morgan": "^1.9.0",
"reflect-metadata": "^0.1.12",
"routing-controllers": "^0.7.7",
"sinon": "^5.0.7",
"supertest": "^3.1.0",
"swagger-jsdoc": "^1.9.7",
"ts-loader": "^4.3.0",
"ts-node": "^6.0.3",
"typescript": "~2.8.3",
"url-parse": "^1.4.1",
"webpack": "^4.8.1",
"webpack-cli": "^3.0.3",
"winston": "^2.4.2"
},
"license": "MIT"
}