-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.91 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
{
"name": "task1.5",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/so0oshiance/LevelUp-Task1.5.git",
"author": "so0oshiance <[email protected]>",
"license": "MIT",
"scripts": {
"initdb": "tsc && node dist/factory/initializeDb.js",
"build": "lint tsc copy-assets",
"start": "tsc && node dist/index.js",
"lint": "eslint . --cache --fix --ext .ts,.tsx",
"pretest": "npm run lint && tsc --noEmit",
"format": "prettier --loglevel warn --write \"**/*.{js,css,md}\"",
"posttest": "npm run format",
"test:jest": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test": "npm run test:jest --"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/jest": "^25.1.2",
"@types/node": "^13.7.1",
"@types/pg": "^7.14.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript-prettier": "^1.4.2",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"ts-jest": "^25.2.0",
"typescript": "^3.7.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --cache --fix",
"prettier --loglevel warn --write \"**/*.{ts,js,css,md}\""
],
"*.{js,css,md}": "prettier --write"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/lib/"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"dependencies": {
"@types/generic-pool": "^3.1.9",
"generic-pool": "^3.7.1",
"pg": "^7.18.1",
"ts-postgres": "^1.1.2"
}
}