-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 4.37 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 4.37 KB
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
93
94
95
96
97
{
"name": "streamers.dev",
"version": "0.1.0",
"private": true,
"main": "index.js",
"scripts": {
"dev-update:channels": "while true; do npm run update:channels; sleep 600; done",
"dev-update:channels:full": "while true; do sleep 1800; npm run update:channels:full; done",
"dev-update:snapshots": "while true; do npm run update:snapshots; sleep 1200; done",
"dev-next": "next dev",
"dev": "concurrently \"npm:dev-*\"",
"debug": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "next start",
"postinstall": "prisma generate",
"dev:update": "concurrently \"npm run dev\" \"npm run dev:update:channels\"",
"update:channels": "babel-node --config-file ./util/.babelrc.json util/updateAllChannels.js",
"update:channels:localtest": "babel-node --config-file ./util/.babelrc.json util/updateAllChannels.js --localTest",
"update:snapshots": "babel-node --config-file ./util/.babelrc.json util/generateSnapshots.js",
"update:snapshots:prod": "dotenv -e .env.production babel-node -- --config-file ./util/.babelrc.json util/generateSnapshots.js",
"update:channels:full": "babel-node --config-file ./util/.babelrc.json util/updateAllChannels.js --fullDetails",
"update:channels:prod": "dotenv -e .env.production babel-node -- --config-file ./util/.babelrc.json util/updateAllChannels.js",
"update:channels:prod:full": "dotenv -e .env.production babel-node -- --config-file ./util/.babelrc.json util/updateAllChannels.js --fullDetails",
"update:tags": "babel-node --config-file ./util/.babelrc.json util/getAllTags.js",
"deploy": "[[ `git symbolic-ref --short -q HEAD` = 'main' ]] && git checkout production && git merge main && git push && git checkout main",
"deploy:backend": "ssh node 'cd streamers.dev && npm run update:backend'",
"update:backend": "git checkout backend && git reset --hard && git pull && npm install",
"find:channels": "babel-node --config-file ./util/.babelrc.json util/findChannels.js",
"find:channels:prod": "dotenv -e .env.production babel-node -- --config-file ./util/.babelrc.json util/findChannels.js",
"studio": "prisma studio",
"migrate:prod": "dotenv -e .env.production -- prisma migrate deploy",
"db:dump:local": "pg_dump -d streamersdev -Fc -f tmp/dbdump_local_`date +\"%Y-%m-%d_%H:%M:%S\"`.dump",
"db:dump:prod": "dotenv -e .env.production -- pg_dump -Fc -f tmp/dbdump_prod_latest.dump",
"db:import:prod": "pg_restore --no-acl --no-owner --clean -d streamersdev tmp/dbdump_prod_latest.dump",
"db:pull": "npm run db:dump:prod && npm run db:import:prod"
},
"dependencies": {
"@fontsource/fira-sans-condensed": "^4.5.0",
"@fontsource/inter": "^4.5.1",
"@headlessui/react": "^1.4.2",
"@heroicons/react": "^1.0.5",
"@next-auth/prisma-adapter": "^1.0.1",
"@prisma/client": "^3.7.0",
"@sentry/nextjs": "^6.16.1",
"@twurple/api": "^5.1.0-pre.2",
"@twurple/auth": "^5.1.0-pre.2",
"apexcharts": "^3.32.0",
"aws-sdk": "^2.1046.0",
"console-stamp": "^3.0.3",
"date-fns": "^2.27.0",
"dotenv": "^10.0.0",
"i18n-iso-countries": "^7.2.0",
"iso-language-codes": "^1.1.0",
"jsonfile": "^6.1.0",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"next": "^12.0.7",
"next-auth": "^4.0.5",
"next-seo": "^4.28.1",
"next-themes": "^0.0.15",
"pluralize": "^8.0.0",
"pretty-ms": "^7.0.1",
"react": "^17.0.2",
"react-apexcharts": "^1.3.9",
"react-country-flag": "^3.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.22.2",
"react-hot-toast": "^2.1.1",
"react-icons": "^4.3.1",
"react-image": "^4.0.3",
"react-loader-spinner": "^4.0.0",
"react-query": "^3.34.5",
"react-svg-worldmap": "^2.0.0-alpha.0",
"react-toast-notifications": "^2.5.1",
"slugify": "^1.6.4",
"superjson": "^1.8.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/node": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"autoprefixer": "^10.4.0",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-superjson-next": "^0.4.2",
"concurrently": "^6.5.0",
"dotenv-cli": "^4.1.1",
"eslint": "^8.5.0",
"eslint-plugin-react": "^7.28.0",
"postcss": "^8.4.5",
"prisma": "^3.7.0",
"prisma-repl": "^1.3.0",
"tailwindcss": "^3.0.7",
"tailwindcss-debug-screens": "^2.2.1"
}
}