CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/hub/package.json
Views: 687
1
{
2
"name": "@cocalc/hub",
3
"version": "1.120.6",
4
"description": "CoCalc: Backend webserver component",
5
"exports": {
6
"./*": "./dist/*.js",
7
"./run/*": "./run/*.js"
8
},
9
"dependencies": {
10
"@cocalc/assets": "workspace:*",
11
"@cocalc/backend": "workspace:*",
12
"@cocalc/cdn": "workspace:*",
13
"@cocalc/database": "workspace:*",
14
"@cocalc/frontend": "workspace:*",
15
"@cocalc/hub": "workspace:*",
16
"@cocalc/next": "workspace:*",
17
"@cocalc/server": "workspace:*",
18
"@cocalc/static": "workspace:*",
19
"@cocalc/util": "workspace:*",
20
"@isaacs/ttlcache": "^1.2.1",
21
"@passport-next/passport-google-oauth2": "^1.0.0",
22
"@passport-next/passport-oauth2": "^2.1.4",
23
"@types/formidable": "^3.4.5",
24
"@types/primus": "^7.3.6",
25
"@types/react": "^18.3.10",
26
"@types/uuid": "^8.3.1",
27
"async": "^1.5.2",
28
"awaiting": "^3.0.0",
29
"basic-auth": "^2.0.1",
30
"bindings": "^1.3.0",
31
"blocked": "^1.1.0",
32
"commander": "^7.2.0",
33
"compression": "^1.7.4",
34
"cookie-parser": "^1.4.3",
35
"cookies": "^0.8.0",
36
"cors": "^2.8.5",
37
"debug": "^4.3.2",
38
"escape-html": "^1.0.3",
39
"express": "^4.21.1",
40
"formidable": "^3.5.1",
41
"http-proxy": "^1.18.1",
42
"immutable": "^4.3.0",
43
"jquery": "^3.6.0",
44
"json-stable-stringify": "^1.0.1",
45
"lodash": "^4.17.21",
46
"lru-cache": "^7.18.3",
47
"mime": "^1.3.4",
48
"mkdirp": "^1.0.4",
49
"ms": "2.1.2",
50
"next": "14.2.15",
51
"nyc": "^15.1.0",
52
"parse-domain": "^5.0.0",
53
"passport": "^0.6.0",
54
"password-hash": "^1.2.2",
55
"primus": "^8.0.7",
56
"prom-client": "^13.0.0",
57
"random-key": "^0.3.2",
58
"react": "^18.3.1",
59
"react-dom": "^18.3.1",
60
"read": "^1.0.7",
61
"require-reload": "^0.2.2",
62
"safe-json-stringify": "^1.2.0",
63
"serve-index": "^1.9.1",
64
"sql-string-escape": "^1.1.6",
65
"temp": "^0.9.4",
66
"uglify-js": "^3.14.1",
67
"underscore": "^1.12.1",
68
"uuid": "^8.3.2",
69
"validator": "^13.6.0",
70
"webpack-dev-middleware": "^7.4.2",
71
"webpack-hot-middleware": "^2.26.1",
72
"ws": "^8.18.0"
73
},
74
"devDependenicesNotes": "For license and size reasons, we make @cocalc/crm a dev dependency so it is NOT installed unless explicitly installed as a separate step.",
75
"devDependencies": {
76
"@types/express": "^4.17.21",
77
"@types/http-proxy": "^1.17.9",
78
"@types/node": "^18.16.14",
79
"@types/passport": "^1.0.9",
80
"@types/react-dom": "^18.3.0",
81
"coffee-coverage": "^3.0.1",
82
"coffeescript": "^2.5.1",
83
"expect": "^26.6.2",
84
"node-cjsx": "^2.0.0",
85
"should": "^7.1.1",
86
"sinon": "^4.5.0"
87
},
88
"scripts": {
89
"preinstall": "npx only-allow pnpm",
90
"build": "tsc --build && coffee -m -c -o dist/ .",
91
"hub-project-dev-nobuild": "unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=${NODE_ENV:=development} NODE_OPTIONS='--max_old_space_size=8000 --trace-warnings --enable-source-maps --inspect' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
92
"hub-personal": "unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=${NODE_ENV:=development} NODE_OPTIONS='--max_old_space_size=8000 --trace-warnings --enable-source-maps --inspect' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0 --personal",
93
"hub-project-dev": "pnpm build && NODE_OPTIONS='--inspect' pnpm hub-project-dev-nobuild",
94
"hub-project-prod": "pnpm build && unset DATA COCALC_ROOT BASE_PATH && export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && export PGHOST=${PGHOST:=`realpath $INIT_CWD/../../data/postgres/socket`} && PGUSER='smc' NODE_ENV=production NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
95
"hub-docker-dev": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=development PROJECTS=/projects/[project_id] PORT=443 NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps --trace-warnings --inspect' cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0 --https-key=/projects/conf/cert/key.pem --https-cert=/projects/conf/cert/cert.pem",
96
"hub-docker-prod": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=production PROJECTS=/projects/[project_id] PORT=443 NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0 --https-key=/projects/conf/cert/key.pem --https-cert=/projects/conf/cert/cert.pem",
97
"hub-docker-prod-nossl": "export DEBUG=${DEBUG:='cocalc:*,-cocalc:silly:*'} && COCALC_DOCKER=true NODE_ENV=production PROJECTS=/projects/[project_id] PORT=80 NODE_OPTIONS='--max_old_space_size=8000 --enable-source-maps' cocalc-hub-server --mode=multi-user --all --hostname=0.0.0.0",
98
"tsc": "tsc --watch --pretty --preserveWatchOutput",
99
"test": "jest dist/",
100
"prepublishOnly": "test"
101
},
102
"repository": {
103
"type": "git",
104
"url": "https://github.com/sagemathinc/cocalc"
105
},
106
"keywords": [
107
"python",
108
"sage",
109
"sagemath",
110
"latex",
111
"terminal",
112
"web",
113
"ide",
114
"math",
115
"mathematics"
116
],
117
"author": "SageMath, Inc.",
118
"license": "SEE LICENSE.md",
119
"bugs": {
120
"url": "https://github.com/sagemathinc/cocalc/issues"
121
},
122
"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/hub",
123
"bin": {
124
"cocalc-hub-server": "./run/hub.js",
125
"cocalc-hub-stats-updater": "./run/stats-updater.js",
126
"cocalc-hub-delete-projects": "./run/delete-projects.js",
127
"cocalc-hub-maintenance-expired": "./run/maintenance-expired.js",
128
"cocalc-hub-maintenance-syncstrings": "./run/maintenance-syncstrings.js",
129
"cocalc-hub-maintenance-blobs": "./run/maintenance-blobs.js",
130
"cocalc-hub-stripe-sync": "./run/stripe-sync.js"
131
}
132
}
133
134