-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
97 lines (97 loc) · 2.82 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"author": "skmdev29 <[email protected]>",
"bugs": {
"url": "https://github.com/skmdev/koa-decorator-ts/issues"
},
"dependencies": {
"@types/koa": "^2.0.49",
"@types/koa-router": "^7.0.42",
"babel-jest": "^24.9.0",
"class-transformer": "^0.2.3",
"class-transformer-validator": "^0.7.1",
"class-validator": "^0.10.0",
"glob": "^7.1.4",
"jsonschema": "^1.2.4",
"koa-compose": "^4.1.0",
"koa-router": "^7.4.0"
},
"description": "koa decorator",
"devDependencies": {
"@babel/core": "7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "7.6.0",
"@babel/preset-typescript": "7.6.0",
"@babel/runtime": "^7.6.0",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.18",
"@types/koa-bodyparser": "^4.3.0",
"@types/node": "^12.7.5",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"apollo-server-koa": "^2.9.3",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"graphql": "^14.5.7",
"graphql-import": "^0.7.1",
"graphql-tools": "^4.0.5",
"husky": "^3.0.5",
"jest": "^24.9.0",
"koa": "^2.8.1",
"koa-bodyparser": "^4.2.1",
"koa-graphql": "^0.8.0",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"ts-node": "^8.4.1",
"typescript": "^3.6.3"
},
"files": [
"lib"
],
"homepage": "https://github.com/skmdev/koa-decorator-ts#readme",
"jest": {
"collectCoverage": true,
"coverageDirectory": "coverage",
"coverageReporters": [
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testMatch": [
"**/__tests__/**/*.js?(x)",
"**/?(*.)(spec|test).(ts|js)?(x)"
],
"testURL": "http://localhost/",
"verbose": true
},
"license": "ISC",
"main": "./lib",
"name": "koa-decorator-ts",
"repository": {
"type": "git",
"url": "git+https://github.com/skmdev/koa-decorator-ts.git"
},
"husky": {
"hooks": {
"pre-push": "yarn build && if [[ $(git diff | head -c1 | wc -c) -ne 0 ]]; then printf \"\\e[31;4;1mERROR: \\\"git diff\\\" was not empty, please commit build dir\\e[0m \" && echo \"\" && exit 1; fi && echo \"Build dir commited\""
}
},
"scripts": {
"prebuild": "yarn prettier && yarn lint && yarn test",
"build": "tsc",
"lint": "eslint {src,test}/**/*.ts",
"prepublishOnly": "yarn build",
"prettier": "prettier --write \"{src,test}/**/*.ts{,x}\"",
"test": "cross-env NODE_ENV=test jest --no-cache --detectOpenHandles --runInBand"
},
"version": "2.7.0"
}