-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
92 lines (92 loc) · 3.79 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
88
89
90
91
92
{
"name": "hn-new-jobs",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "NODE_NO_WARNINGS=1 next dev",
"build": "next build",
"start": "next start",
"cp": "cp -r public .next/standalone/ && cp -r .next/static .next/standalone/.next/",
"standalone": "node .next/standalone/server.js",
"prod": "yarn build && yarn cp && yarn standalone",
"hn:dev:new": "tsx modules/parser/main.ts new",
"hn:dev:old": "tsx modules/parser/main.ts old",
"hn:dev:old-many": "tsx modules/parser/main.ts old-many",
"hn:dev:trim-old": "tsx modules/parser/main.ts trim-old",
"hn:dev:trim-new": "tsx modules/parser/main.ts trim-new",
"lint": "next lint",
"lint:fix": "next lint --fix",
"preview": "next build && next start",
"types": "tsc --noEmit",
"format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache",
"format": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
"clean": "rm -rf node_modules yarn.lock",
"dc:build": "DOCKER_BUILDKIT=0 docker compose build",
"dc:up": "docker compose up -d",
"dc:down": "docker compose down",
"docker:build:push:x86": "docker buildx build -f ./Dockerfile -t nemanjamitic/hn-new-jobs --build-arg ARG_SITE_HOSTNAME='hackernews-new-jobs.arm1.nemanjamitic.com' --build-arg ARG_PLAUSIBLE_SERVER_URL='https://plausible.arm1.nemanjamitic.com' --platform linux/amd64 .",
"docker:build:push:arm": "docker buildx build -f ./Dockerfile -t nemanjamitic/hn-new-jobs --build-arg ARG_SITE_HOSTNAME='hackernews-new-jobs.arm1.nemanjamitic.com' --build-arg ARG_PLAUSIBLE_SERVER_URL='https://plausible.arm1.nemanjamitic.com' --platform linux/arm64 --push .",
"docker:build:push:all": "docker buildx build -f ./Dockerfile -t nemanjamitic/hn-new-jobs --build-arg ARG_SITE_HOSTNAME='hackernews-new-jobs.arm1.nemanjamitic.com' --build-arg ARG_PLAUSIBLE_SERVER_URL='https://plausible.all.nemanjamitic.com' --platform linux/arm64,linux/amd64 --push .",
"deploy:docker:pi": "bash scripts/deploy-docker.sh pi '~/traefik-proxy/apps/hn-new-jobs' nemanjamitic/hn-new-jobs:latest"
},
"dependencies": {
"@radix-ui/react-scroll-area": "^1.2.1",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.0.2",
"@tanstack/react-table": "^8.20.5",
"@uidotdev/usehooks": "^2.4.1",
"axios": "^1.7.7",
"axios-rate-limit": "^1.4.0",
"axios-retry": "^4.5.0",
"better-sqlite3": "^11.5.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"jsdom": "^25.0.1",
"keyv": "^5.1.2",
"keyv-file": "^5.0.3",
"keyv-lru": "^3.0.4",
"lucide-react": "^0.456.0",
"next": "^15.0.0",
"next-plausible": "^3.12.4",
"next-themes": "^0.3.0",
"node-cron": "^3.0.3",
"object-treeify": "^4.0.1",
"pretty": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"recharts": "^2.13.3",
"sharp": "^0.33.5",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.6",
"use-debounce": "^10.0.4",
"winston": "^3.17.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@types/better-sqlite3": "^7.6.11",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.7.8",
"@types/node-cron": "^3.0.11",
"@types/pretty": "^2.0.3",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/parser": "^8.11.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.57.0",
"eslint-config-next": "15.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-tailwindcss": "^3.13.0",
"postcss": "^8.4.24",
"prettier": "^3.3.3",
"tailwindcss": "^3.3.2",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
},
"resolutions": {
"punycode": "^2.3.1"
}
}