-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.04 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
59
60
61
62
63
64
65
66
67
68
69
{
"name": "calculator-BE",
"version": "0.1.0",
"description": "Test task",
"main": "index.js",
"repository": "https://github.com/druny/calculator-BE.git",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"start": "./node_modules/.bin/tsnd --respawn ./index.js --watch ./src",
"build": "./node_modules/.bin/ttsc",
"test": "jest",
"lint": "./node_modules/.bin/tslint --project ./",
"prettier:base": "./node_modules/.bin/prettier --parser typescript --single-quote",
"prettier:check": "yarn prettier:base -- --list-different \"src/**/*.{ts,tsx}\"",
"prettier:write": "yarn prettier:base -- --write \"src/**/*.{ts,tsx}\"",
"pre-commit": "lint-staged && yarn prettier:write",
"pre-push": "yarn build --noEmit && yarn test --lastCommit"
},
"husky": {
"hooks": {
"pre-commit": "yarn pre-commit",
"pre-push": "yarn pre-push"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -c tslint.json --project tsconfig.json"
]
},
"dependencies": {
"body-parser": "^1.19.0",
"celebrate": "^12.1.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^3.22.0",
"mongoose": "^5.9.10",
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/hapi__joi": "^16.0.12",
"@types/helmet": "^0.0.46",
"@types/jest": "^25.2.1",
"@types/mongoose": "^5.7.14",
"@types/node": "^10.0.3",
"@zerollup/ts-transform-paths": "^1.7.17",
"husky": "^4.2.5",
"jest": "^25.4.0",
"lint-staged": "^10.2.0",
"module-alias": "^2.2.2",
"prettier": "2.0.5",
"ts-jest": "^25.4.0",
"ts-node": "^8.9.1",
"ts-node-dev": "^1.0.0-pre.44",
"tsc": "^1.20150623.0",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.2",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"tslint-jest": "^1.0.5",
"ttypescript": "^1.5.10",
"typescript": "^3.8.3"
}
}