Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.52 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.52 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
{
"name": "jest-typescript-starter",
"version": "1.0.0",
"description": "A starter for a node app with Jest, Typescript, and some other basic configurations",
"main": "index.ts",
"repository": "https://github.com/charlesdobson/jest-typescript-starter.git",
"author": "charlesdobson <charlesdobson92@gmail.com>",
"license": "MIT",
"private": false,
"scripts": {
"build": "tsc",
"serve": "NODE_ENV=development nodemon --exec 'ts-node' src/index.ts",
"start": "NODE_ENV=production node dist/index.js",
"test": "jest --watchAll",
"test:ci": "jest --ci",
"test:coverage": "jest --coverage",
"lint": "eslint ./src --ext .ts"
},
"devDependencies": {
"@types/jest": "27.0.3",
"@typescript-eslint/eslint-plugin": "5.5.0",
"@typescript-eslint/parser": "5.5.0",
"eslint": "8.3.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.4",
"jest": "27.4.3",
"nodemon": "2.0.15",
"prettier": "2.5.0",
"ts-jest": "27.0.7",
"ts-node": "10.4.0",
"typescript": "4.5.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./*.{js,ts}": [
"npx prettier --write",
"yarn run lint"
]
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
}
},
"volta": {
"node": "16.13.1"
},
"dependencies": {
"dijkstrajs": "^1.0.2"
}
}