-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.44 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.44 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
{
"name": "typescript-setup-template",
"version": "1.0.0",
"description": "Template Typescript project for node.",
"author": "Dimitrios Kirtsios <dimkirts@gmail.com>",
"license": "MIT",
"scripts": {
"build": "tsc",
"start": "node dist/main.js",
"dev": "concurrently \"npx tsc --watch\" \"nodemon -q dist/main.js\"",
"lint": "npx eslint src/",
"prettier": "npx prettier --write src/",
"test": "npx mocha --timeout 2000 --require ts-node/register src/**/*.spec.ts",
"pre-push": "npm run test && npm run build"
},
"devDependencies": {
"@types/chai": "4.3.4",
"@types/express": "4.17.17",
"@types/mocha": "10.0.1",
"@types/node": "20.3.1",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"concurrently": "8.0.1",
"eslint": "8.37.0",
"eslint-config-prettier": "8.8.0",
"husky": "8.0.3",
"lint-staged": "13.2.0",
"mocha": "10.2.0",
"nodemon": "2.0.22",
"prettier": "2.8.7",
"supertest": "6.3.3",
"ts-node": "10.9.1",
"typescript": "5.0.3"
},
"dependencies": {
"express": "4.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run pre-push"
}
},
"lint-staged": {
"**/*.ts": [
"npx eslint src/",
"npx prettier --write src/"
]
},
"engines": {
"node": "20"
}
}