-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.6 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
{
"name": "@koex/joi",
"version": "0.0.5",
"description": "joi for koa extend",
"main": "lib/index.js",
"module": "lib/index.js",
"repository": "https://github.com/koexjs/joi",
"author": "Zero",
"license": "MIT",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf -rf lib",
"test": "NODE_ENV=test nyc mocha test/*.spec.ts test/**/*.spec.ts --exit --timeout 10000",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run build"
},
"devDependencies": {
"@koex/router": "^0.0.2",
"@types/koa": "^2.0.47",
"@types/mocha": "^5.2.5",
"@types/node": "^10.9.4",
"@zcorky/koa-onerror": "^0.0.1",
"coveralls": "^3.0.2",
"husky": "^1.2.0",
"koa": "^2.6.2",
"koa-body": "^4.0.4",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"rimraf": "^2.6.2",
"should": "^13.2.3",
"source-map-support": "^0.5.9",
"supertest": "^3.3.0",
"ts-node": "^7.0.1",
"tslint": "^5.10.0",
"tslint-eslint-rules": "^5.3.1",
"tslint-jsdoc-rules": "^0.1.2",
"typescript": "^3.2.1"
},
"files": [
"lib/"
],
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"nyc": {
"check-coverage": true,
"lines": 60,
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register",
"source-map-support/register"
],
"sourceMap": true,
"instrument": true
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@types/joi": "^14.0.1",
"joi": "^14.3.0"
}
}