-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 1.26 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
{
"name": "moco-node",
"version": "1.2.2",
"description": "moco stub server for node",
"main": "dist/index.js",
"repository": "https://github.com/uuau99999/moco-node.git",
"author": "yehao <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"prebuild": "rimraf dist",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
"precommit": "lint-staged"
},
"dependencies": {
"node-jswiremock": "^0.2.1"
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/node": "^10.12.18",
"@types/supertest": "^2.0.7",
"husky": "^1.2.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"supertest": "^3.3.0",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"tslint": "^5.12.0",
"typescript": "^3.2.2"
},
"lint-staged": {
"*.{ts}": [
"tslint --fix",
"prettier --write",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "test",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}