-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 1.72 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
{
"name": "nanolink",
"config": {
"dist_dir": "dist",
"build_dir": "build",
"build_entry": "handler.js",
"dist_outfile": "main.js"
},
"scripts": {
"dev": "tsx watch server.ts",
"build": "pnpm compile && pnpm esbuild",
"esbuild": "node esbuild.mjs",
"compile": "tsc",
"start": "node dist/server.js",
"lint": "eslint . --ext .ts --fix",
"pretty": "pnpm prettier --write .",
"precommit": "lint-staged",
"prepare": "npx simple-git-hooks",
"db:update": "prisma migrate dev"
},
"devDependencies": {
"@types/config": "^3.3.4",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.16",
"@types/jsonwebtoken": "^9.0.6",
"@types/morgan": "^1.9.4",
"@types/node": "^18.11.18",
"@types/swagger-ui-express": "^4.1.3",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"esbuild": "^0.17.4",
"eslint": "^8.32.0",
"lint-staged": "^13.1.0",
"moment": "^2.30.1",
"prettier": "^2.8.3",
"prisma": "^4.9.0",
"simple-git-hooks": "^2.8.1",
"tsconfig-paths": "^4.1.2",
"tsx": "^4.7.0",
"typescript": "^4.9.4"
},
"dependencies": {
"@prisma/client": "^4.9.0",
"config": "^3.3.11",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.2",
"helmet": "^6.0.1",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"nanoid": "^5.0.6"
},
"lint-staged": {
"*.ts": [
"pnpm lint",
"pnpm pretty"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm precommit"
},
"nodemonConfig": {
"ignore": [
"./build/**",
"./dist/**"
]
}
}