/
package.json
74 lines (74 loc) · 2.3 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
{
"name": "@tsed/basic-example",
"version": "1.0.0",
"description": "Here an example to configure your server and how to create your first controller.",
"main": "src/index.js",
"scripts": {
"build": "yarn tsc",
"tsc": "tsc --project tsconfig.compile.json",
"tsc:w": "tsc --project tsconfig.json -w",
"start": "nodemon --watch \"src/**/*.ts\" --ignore \"node_modules/**/*\" --exec ts-node src/index.ts",
"start:prod": "cross-env NODE_ENV=production node dist/index.js",
"test": "yarn test:lint && yarn test:coverage",
"test:unit": "cross-env NODE_ENV=test jest",
"test:coverage": "yarn test:unit",
"test:lint": "eslint src --ext .ts",
"test:lint:fix": "eslint src --ext .ts --fix",
"prettier": "prettier '{src,test}/**/*.ts' --write"
},
"dependencies": {
"@tsed/ajv": "6.33.3",
"@tsed/common": "6.33.3",
"@tsed/core": "6.33.3",
"@tsed/di": "6.33.3",
"@tsed/exceptions": "6.33.3",
"@tsed/json-mapper": "6.33.3",
"@tsed/platform-express": "6.33.3",
"@tsed/schema": "6.33.3",
"@tsed/swagger": "6.33.3",
"ajv": "7.0.1",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"method-override": "^3.0.0"
},
"devDependencies": {
"@tsed/cli-plugin-eslint": "2.6.0",
"@tsed/cli-plugin-jest": "2.6.0",
"@types/multer": "1.4.4",
"@types/compression": "^1.7.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.8",
"@types/express": "^4.17.9",
"@types/jest": "^26.0.15",
"@types/method-override": "^0.0.31",
"@types/node": "14.14.34",
"@types/supertest": "^2.0.10",
"@types/faker": "5.1.7",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.8.2",
"concurrently": "^5.3.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"faker": "5.1.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.2",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"supertest": "^6.0.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typescript": "4.2.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
}
}