-
Notifications
You must be signed in to change notification settings - Fork 338
/
package.json
87 lines (87 loc) · 2.58 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
{
"name": "filepizza",
"version": "2.0.0",
"description": "Free peer-to-peer file transfers in your browser.",
"author": "Alex Kern <[email protected]> (http://kern.io)",
"license": "BSD-3-Clause",
"homepage": "https://github.com/kern/filepizza",
"scripts": {
"dev": "next",
"dev:redis": "docker compose up redis -d && REDIS_URL=redis://localhost:6379 next",
"build": "next build",
"start": "next start",
"start:peerjs": "./bin/peerjs.js",
"lint:check": "eslint 'src/**/*.ts[x]'",
"lint:fix": "eslint 'src/**/*.ts[x]' --fix",
"docker:build": "docker compose build",
"docker:up": "docker compose up -d",
"docker:down": "docker compose down",
"docker:logs": "docker compose logs -f",
"docker:ps": "docker compose ps",
"docker:restart": "docker compose restart",
"docker:clean": "docker compose down -v --rmi all",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"type:check": "tsc --noEmit",
"ci": "pnpm lint:check && pnpm format:check && pnpm type:check && pnpm build && pnpm docker:build"
},
"repository": {
"type": "git",
"url": "[email protected]:kern/filepizza.git"
},
"bugs": {
"url": "https://github.com/kern/filepizza/issues"
},
"dependencies": {
"@tanstack/react-query": "^5.55.2",
"autoprefixer": "^10.4.20",
"debug": "^4.3.6",
"express": "^4.19.2",
"ioredis": "^4.28.5",
"next": "^15.1.3",
"next-themes": "^0.4.4",
"next-view-transitions": "^0.3.4",
"nodemon": "^1.19.4",
"peer": "^0.5.3",
"peerjs": "^1.5.4",
"postcss": "^8.4.44",
"react": "^18.2.0",
"react-device-detect": "^1.17.0",
"react-dom": "^18.2.0",
"react-qr-code": "^2.0.15",
"streamsaver": "^2.0.6",
"tailwindcss": "^3.4.10",
"web-streams-polyfill": "^3.3.3",
"webrtcsupport": "^2.2.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/ioredis": "^4.28.10",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"eslint": "^9.17.0",
"eslint-config-next": "^15.1.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.3",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.8.8",
"typescript": "^4.9.5",
"typescript-eslint": "^8.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}