-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 923 Bytes
/
package.json
File metadata and controls
47 lines (47 loc) · 923 Bytes
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
{
"name": "design-pattern",
"version": "1.0.0",
"description": "Design Pattern For TypScript",
"main": "index.js",
"scripts": {
"test": "jest",
"dev": "ts-node ./src/index.ts"
},
"author": "",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run test && lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier",
"tslint"
]
},
"devDependencies": {
"@types/jest": "^25.2.1",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"ts-jest": "^25.5.1",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"typescript": "^3.9.2"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"collectCoverage": true
}
}