-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 3.54 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 3.54 KB
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "ts-node src/index.ts",
"dev": "nodemon",
"build": "tsc",
"test": "jest",
"prettier": "prettier -c src/**/*.ts",
"lint": "eslint ./src/*.ts",
"orm": "ts-node ./src/bin/orm.ts"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"globalSetup": "<rootDir>/src/testSetup.ts",
"testEnvironment": "node",
"moduleNameMapper": {
"^API/(.*)$": "<rootDir>/src/$1"
},
"testRegex": ".*(test|spec)\\.ts",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"author": "",
"license": "ISC",
"devDependencies": {
"@entity-factory/core": "0.2.1",
"@entity-factory/typeorm": "0.2.1",
"@jest/core": "24.8.0",
"@types/acme-client": "3.0.0",
"@types/bcryptjs": "2.4.2",
"@types/fs-extra": "8.1.0",
"@types/jest": "24.9.1",
"@types/jsonwebtoken": "8.3.4",
"@types/koa__router": "8.0.2",
"@types/module-alias": "2.0.0",
"@types/node": "12.12.32",
"@typescript-eslint/eslint-plugin": "2.3.1",
"@typescript-eslint/parser": "2.3.1",
"babel-jest": "24.9.0",
"eslint": "6.5.1",
"eslint-config-prettier": "6.3.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "22.17.0",
"eslint-plugin-node": "10.0.0",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"jest": "24.9.0",
"jest-cli": "24.8.0",
"nodemon": "1.19.2",
"prettier": "1.19.1",
"ts-jest": "24.1.0",
"ts-node": "8.5.2",
"typescript": "3.7.2"
},
"dependencies": {
"@koa/router": "^8.0.8",
"@types/graphql": "^14.5.0",
"acme-client": "^3.2.0",
"apollo-server-koa": "^2.9.8",
"bcryptjs": "^2.4.3",
"class-validator": "^0.12.2",
"fs-extra": "^8.1.0",
"jsonwebtoken": "^9.0.0",
"koa": "^2.11.0",
"module-alias": "^2.2.2",
"p-event": "^4.1.0",
"pg": "^7.12.1",
"reflect-metadata": "^0.1.13",
"type-graphql": "^0.17.5",
"typeorm": "^0.2.20",
"yaml": "^1.9.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"semi": true
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
},
"env": {
"jest/globals": true
},
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/standard",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "none",
"varsIgnorePattern": "_.+"
}
],
"@typescript-eslint/camelcase": "warn",
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"no-unused-vars": "off",
"comma-dangle": [
"error",
"always-multiline"
],
"semi": "off",
"@typescript-eslint/semi": [
"error"
],
"prettier/prettier": "error"
}
}
}