-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.23 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
{
"name": "url-shortener",
"version": "1.0.0",
"description": "A toy project implementing a common URL shortener service",
"main": ".build/server.js",
"scripts": {
"start": "env-cmd --silent node --unhandled-rejections=strict -r source-map-support/register .build/server.js",
"migrate": "env-cmd --silent node --unhandled-rejections=strict scripts/migrate.mjs",
"build": "tsc",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "env-cmd --silent jest",
"typegen": "env-cmd --silent pgtyped -c pgtyped.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "eslint --fix"
},
"jest": {
"testRegex": "(/tests/.*|(\\.|/)test)\\.tsx?$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"maxConcurrency": 50,
"testTimeout": 60000
},
"repository": {
"type": "git",
"url": "git+https://github.com/golergka/url-shortener.git"
},
"author": "Max Yankov <[email protected]>",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/golergka/url-shortener/issues"
},
"homepage": "https://github.com/golergka/url-shortener#readme",
"devDependencies": {
"@pgtyped/cli": "^0.10.3",
"@types/express": "^4.17.11",
"@types/ioredis": "^4.26.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@types/pg": "^7.14.11",
"@types/pug": "^2.0.4",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
},
"dependencies": {
"@pgtyped/query": "^0.10.2",
"env-cmd": "^10.1.0",
"express": "^4.17.1",
"ioredis": "^4.27.1",
"normalize-url": "^6.0.0",
"pg": "^8.6.0",
"pg-tx": "^0.2.3",
"postgres-migrations": "^5.1.1",
"pug": "^3.0.2",
"source-map-support": "^0.5.19"
}
}