-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.83 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
{
"name": "http4ts-realworld-example-app",
"version": "1.0.0",
"description": "Realworld app implementation using Typescript and http4ts framework",
"scripts": {
"lint": "eslint --ext .ts src/** && prettier src/** --check",
"lint-fix": "eslint --ext .ts --fix src/** && prettier src/** --write",
"start": "npm run start-db & nodemon",
"build": "rm -rf dist && tsc -p tsconfig.json",
"test": "jest",
"tdd": "jest --watchAll",
"test-ci": "jest --ci --coverage",
"start-db": "pouchdb-server --dir db --no-stdout-logs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/http4ts/http4ts-realworld-example-app.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/http4ts/http4ts-realworld-example-app/issues"
},
"homepage": "https://github.com/http4ts/http4ts-realworld-example-app#readme",
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/jest": "^25.2.1",
"@types/jsonwebtoken": "^8.3.8",
"@types/node": "^13.11.0",
"@types/pino": "^5.17.0",
"@types/pouchdb": "^6.4.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.2.7",
"lint-staged": "^10.1.2",
"nodemon": "^2.0.2",
"pouchdb-adapter-memory": "^7.2.1",
"pouchdb-server": "^4.2.0",
"prettier": "^2.0.2",
"ts-jest": "^25.3.1",
"ts-node": "^8.8.2",
"typescript": "^3.8.3"
},
"dependencies": {
"@types/content-type": "^1.1.3",
"bcrypt": "^4.0.1",
"content-type": "^1.0.4",
"http4ts": "0.0.3",
"jsonwebtoken": "^8.5.1",
"pino": "^6.1.1",
"pino-pretty": "^4.0.0",
"pouchdb": "^7.2.1"
},
"jest": {
"preset": "ts-jest",
"rootDir": "./src",
"setupFiles": [
"<rootDir>../jest/setup.ts"
],
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-parameter-properties": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-inferrable-types": 0
}
},
"prettier": {
"trailingComma": "none",
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix"
]
}
}