Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.97 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 2.97 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
107
108
109
110
111
112
{
"name": "typescript-backend-template",
"version": "0.0.0",
"description": "A simple template for the nodejs project which includes typescript and jest",
"main": "index.js",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"start": "node index.js",
"start:watch": "nodemon",
"start:watch-debug": "nodemon --config nodemon-debug.json",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"tsc-check": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"task1": "nodemon --watch src/task1_1.ts --exec \\\"ts-node\\\" src/task1_1.ts",
"task2": "nodemon src/task1_2.ts --exec \\\"ts-node\\\" src/task1_2.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/datapain/typescript-backend-template.git"
},
"keywords": [
"template",
"typescript",
"nodejs",
"backend",
"bootstrap"
],
"author": "Konstantin Tsepelev <strangeratthedoor@gmail.com> (https://github.com/datapain)",
"license": "MIT",
"bugs": {
"url": "https://github.com/datapain/typescript-backend-template/issues"
},
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@types/express": "^4.17.11",
"@types/faker": "^5.1.7",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/validator": "^13.1.3",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.21.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.2",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"ts-jest": "^26.5.2",
"ts-node": "^9.1.1",
"typescript": "~4.1.5"
},
"homepage": "https://github.com/datapain/typescript-backend-template#readme",
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"roots": [
"<rootDir>/tests/",
"<rootDir>/src/"
],
"testTimeout": 30000,
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"setupFiles": [
"./tests/jest.settings.ts"
],
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"src/**/*.ts"
],
"testEnvironment": "node"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && npm run test"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix"
]
},
"dependencies": {
"csvtojson": "^2.0.10",
"express": "^4.17.1",
"joi": "^17.4.0",
"pg": "^8.6.0",
"pg-hstore": "^2.3.3",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.6.2"
}
}