-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.42 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
{
"name": "team-organizer.core",
"version": "1.0.0",
"description": "GraphQL API",
"main": "index.js",
"author": "vikei",
"license": "MIT",
"private": true,
"scripts": {
"start": "ts-node src",
"dev": "ts-node-dev src",
"format": "prettier \"src/**/*\" --write",
"lint": "eslint --ext .ts src",
"test": "jest -i",
"generate-schema": "ts-node src/app/scripts/generate-schema.script.ts",
"fake-db": "ts-node src/app/scripts/fake-db.script.ts"
},
"jest": {
"transform": {
"^.+\\.ts?$": "ts-jest"
}
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"env": {
"node": true,
"es2020": true,
"jest": true
},
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-non-null-assertion": 0
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100,
"arrowParens": "always"
},
"husky": {
"hooks": {
"pre-commit": "yarn format && yarn lint && yarn generate-schema",
"pre-push": "yarn test"
}
},
"dependencies": {
"apollo-server-express": "^2.11.0",
"bcrypt": "^4.0.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"faker": "^4.1.0",
"graphql": "^14.6.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"pg": "^7.18.2",
"reflect-metadata": "^0.1.13",
"ts-node": "^8.6.2",
"ts-node-dev": "^1.0.0-pre.44",
"type-graphql": "^0.17.6",
"typedi": "^0.8.0",
"typeorm": "^0.2.24",
"typeorm-typedi-extensions": "^0.2.3",
"typescript": "^3.8.3"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/faker": "^4.1.10",
"@types/graphql": "^14.5.0",
"@types/jest": "^25.1.4",
"@types/jsonwebtoken": "^8.3.8",
"@types/lodash": "^4.14.149",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"eslint": "^6.8.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "^25.2.1"
}
}