-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.59 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
{
"name": "techdinner-api",
"version": "1.0.0",
"description": "TechDinner API.",
"main": "./dist/server.js",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/techdinner/techdinner-api/"
},
"scripts": {
"start": "node ./dist/server.js",
"dev": "tsnd --transpile-only --respawn --ignore-watch node_modules -r tsconfig-paths/register ./src/server.ts",
"clean": "rimraf dist",
"build": "yarn clean && tsc -p tsconfig.build.json && tscpaths -p tsconfig.build.json -s ./src -o ./dist",
"test": "jest",
"lint": "tsc --noEmit && eslint . --ext .ts --max-warnings=0",
"lint:fix": "yarn lint --fix",
"prettier:format": "pretty-quick --pattern '**/*.ts' --verbose",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"migration:run": "yarn typeorm migration:run -d ./src/database/data-source.ts",
"migration:revert": "yarn typeorm migration:revert -d ./src/database/data-source.ts",
"migration:generate": "yarn typeorm migration:generate -d ./src/database/data-source.ts",
"migration:create": "typeorm-ts-node-commonjs migration:create",
"postinstall": "nvmrc-check --node $(cat .nvmrc)",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn lint:fix",
"yarn prettier:format --staged"
]
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"jsonwebtoken": "^8.5.1",
"nodemailer": "^6.8.0",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"simple-body-validator": "^1.2.12",
"typeorm": "^0.3.9"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jest": "^29.2.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^16.11.10",
"@types/nodemailer": "^6.4.6",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.35.1",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.1",
"jest": "^29.2.1",
"lint-staged": "^13.0.3",
"nvmrc-check": "^1.0.2",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"ts-jest": "^29.0.3",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.1.0",
"tscpaths": "^0.0.9",
"typescript": "^4.8.4"
}
}