-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.83 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
{
"name": "clean-code",
"version": "1.0.0",
"description": "examples of book clean code",
"main": "index.js",
"scripts": {
"dev:srp": "npm run tslint && ts-node-dev --respawn --transpile-only ./src/srp/index.ts",
"dev:ocp": "npm run tslint && ts-node-dev --respawn --transpile-only ./src/ocp/index.ts",
"dev:lsp": "npm run tslint && ts-node-dev --respawn --transpile-only ./src/lsp/index.ts",
"dev:isp": "npm run tslint && ts-node-dev --respawn --transpile-only ./src/isp/index.ts",
"dev:dip": "npm run tslint && ts-node-dev --respawn --transpile-only ./src/dip/index.ts",
"tslint": "tslint --fix --project tsconfig.json",
"prettier:base": "prettier --parser typescript --single-quote",
"prettier:check": "npm run prettier:base -- --list-different \"./src/**/*.{ts}\"",
"prettier:write": "npm run prettier:base -- --write \"./src/**/*.ts\"",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"author": "Carlos Enrique Ramírez Flores",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.13",
"@types/supertest": "^2.0.10",
"husky": "^4.2.5",
"jest": "^26.4.2",
"nodemon": "^2.0.4",
"prettier": "^2.1.1",
"supertest": "^4.0.2",
"ts-jest": "^26.3.0",
"ts-node-dev": "^1.0.0-pre.62",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run tslint && npm run prettier:write && jest --bail",
"pre-push": "npm run tslint && npm run test"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
]
},
"dependencies": {
"axios": "^0.20.0",
"x-match-expression": "^0.2.1"
}
}