-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
58 lines (58 loc) · 1.66 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
{
"name": "node-ts-barebones",
"version": "0.0.1",
"description": "Barebones NodeJS setup with TypeScript, Jest, TSLint and Prettier",
"author": "Tiago Pina - <[email protected]>",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && tsc",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand"
},
"keywords": [
"node",
"typescript",
"jest",
"prettier"
],
"dependencies": {
"chalk": "^4.1.2",
"dotenv": "^16.3.1",
"pretty-error": "^4.0.0",
"winston": "^3.9.0",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@types/dotenv": "^6.1.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.3",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.3",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tslint": "^6.1.3",
"typescript": "^5.1.6"
},
"lint-staged": {
"{src,tests}/**/*.{ts,js,json}": [
"prettier --config .prettierrc --write './src/**/*.ts'",
"tslint -p tsconfig.json -c tslint.json",
"npm run tests",
"git add"
]
}
}