This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
generated from startergate/Koa-TypeScript-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 2.9 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "dotori-v1",
"description": "dotori",
"version": "1.0.0",
"main": "dist/deploy.js",
"dependencies": {
"joi": "^17.2.0",
"cross-env": "^6.0.3",
"dotenv": "^8.2.0",
"koa": "^2.11.0",
"koa-bodyparser": "^4.2.1",
"koa-logger": "^3.2.1",
"koa-router": "^7.4.0",
"mariadb": "^2.3.1",
"redis": "^3.0.2",
"sequelize": "^5.21.3",
"uuid": "^8.1.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.30",
"@types/hapi__joi": "^17.1.4",
"@types/jest": "^25.1.4",
"@types/koa": "^2.0.51",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-logger": "^3.1.1",
"@types/koa-router": "^7.0.42",
"@types/redis": "^2.8.21",
"@types/supertest": "^2.0.8",
"@types/validator": "^12.0.1",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"jest": "^25.1.0",
"nodemon": "^1.19.4",
"prettier": "1.19.1",
"redoc-cli": "^0.9.7",
"rimraf": "^3.0.0",
"standardx": "^5.0.0",
"supertest": "^4.0.2",
"ts-jest": "^25.3.0",
"ts-node": "^8.4.1",
"typescript": "^3.7.2"
},
"scripts": {
"start": "yarn build || yarn fast-start",
"fast-start": "cross-env NODE_ENV=deploy NODE_PATH=./dist node dist/deploy.js",
"style-test": "standardx \"src/**/*.ts\" && tsc",
"test": "jest -i && yarn style-test",
"pretty": "prettier es2020 --write \"src/**/*.ts\"",
"clear": "rimraf dist",
"build": "tsc",
"docker-build": "docker-compose build && docker-compose up -d",
"dev": "cross-env NODE_PATH=./src NODE_ENV=develop nodemon --watch 'src/**/*' -e ts,tsx --exec ts-node ./src/deploy.ts",
"redoc": "redoc-cli serve ./openapi.yaml",
"export": "redoc-cli bundle ./openapi.yaml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/startergate/DOTORI-api.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/startergate/DOTORI-api/issues"
},
"homepage": "https://dotori.beansil.com",
"standardx": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020
},
"ignore": [
"src/modules/**/*",
"src/tests/**/*"
],
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended"
]
},
"jest": {
"setupFiles": [
"./src/tests/index.ts"
],
"moduleFileExtensions": [
"json",
"js",
"ts"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/controller/**/*.ts"
],
"transform": {
"\\.ts$": "ts-jest"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 89
}
},
"coverageReporters": [
"text",
"text-summary"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"/coverage/"
]
}
}