-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.7 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
{
"name": "@koex/onerror",
"version": "0.0.3",
"description": "onerror for koa extend",
"main": "lib/index.js",
"module": "lib/index.js",
"repository": "https://github.com/koexjs/onerror",
"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/joi": "^0.0.3",
"@koex/router": "^0.0.1",
"@koex/validate": "^0.0.1",
"@types/debug": "^0.0.31",
"@types/koa": "^2.0.47",
"@types/mocha": "^5.2.5",
"@types/ms": "^0.7.30",
"@types/node": "^10.9.4",
"@zcorky/delay": "^1.0.1",
"chai": "^4.1.2",
"chai-spies": "^1.0.0",
"coveralls": "^3.0.2",
"global": "^4.3.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.1.1"
},
"files": [
"lib/"
],
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"nyc": {
"check-coverage": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register",
"source-map-support/register"
],
"sourceMap": true,
"instrument": true
},
"publishConfig": {
"access": "public"
}
}