-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "fastify-wrapper",
"version": "1.0.0",
"description": "MVC fastify decorator Dependency injection Inversion of Control Typescript",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"repository": "[email protected]:printjs/fastify-wrapper.git",
"author": "Jiantao Wu <[email protected]>",
"license": "MIT",
"scripts": {
"test": "node_modules/.bin/ts-node node_modules/.bin/ava ",
"coverage": "node_modules/.bin/nyc --reporter=html npm run test",
"server": "node_modules/.bin/ts-node example/test.ts",
"debug": "node_modules/.bin/ts-node --inspect=0.0.0.0:9224 example/test.ts",
"build": "node_modules/.bin/tsc -d",
"rm:dist": "node_modules/.bin/ts-node scripts/rm.dist.ts",
"prepublish": "npm run rm:dist && npm run coverage && npm run build"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"ava": "^3.2.0",
"fastify": "^2.11.0",
"husky": "^4.0.6",
"lint-staged": "^9.5.0",
"nyc": "^15.0.0",
"source-map-support": "^0.5.16",
"ts-node": "^8.6.1",
"tslint": "^5.20.1",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.7.4"
},
"dependencies": {
"reflect-metadata": "^0.1.13"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"node_modules/.bin/tslint --fix",
"git add",
"node_modules/.bin/tslint -p tsconfig.git.json -c tslint.json --exclude '**/*.d.ts'"
]
},
"ava": {
"files": [
"test/**/*.spec.ts"
],
"tap": true,
"verbose": true,
"extensions": [
"ts"
],
"failWithoutAssertions": true
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"check-coverage": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.spec.ts"
],
"watermarks": {
"lines": [
30,
40
],
"statements": [
30,
40
]
},
"lines": 40
}
}