Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/hub/package.json
1496 views
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/conat": "workspace:*",
14
"@cocalc/database": "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.4.1",
21
"@types/formidable": "^3.4.5",
22
"async": "^1.5.2",
23
"awaiting": "^3.0.0",
24
"blocked": "^1.1.0",
25
"commander": "^7.2.0",
26
"compression": "^1.7.4",
27
"cookie-parser": "^1.4.3",
28
"cookies": "^0.8.0",
29
"cors": "^2.8.5",
30
"debug": "^4.4.0",
31
"express": "^4.21.2",
32
"formidable": "^3.5.4",
33
"http-proxy-3": "^1.20.8",
34
"lodash": "^4.17.21",
35
"lru-cache": "^7.18.3",
36
"mime-types": "^2.1.35",
37
"ms": "2.1.2",
38
"parse-domain": "^5.0.0",
39
"random-key": "^0.3.2",
40
"react": "^19.1.0",
41
"uglify-js": "^3.14.1",
42
"underscore": "^1.12.1",
43
"uuid": "^8.3.2",
44
"validator": "^13.6.0",
45
"webpack-dev-middleware": "^7.4.2",
46
"webpack-hot-middleware": "^2.26.1"
47
},
48
"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.",
49
"devDependencies": {
50
"@types/express": "^4.17.21",
51
"@types/node": "^18.16.14",
52
"coffeescript": "^2.5.1"
53
},
54
"scripts": {
55
"preinstall": "npx only-allow pnpm",
56
"clean": "rm -rf node_modules dist",
57
"build": "tsc && coffee -m -c -o dist/ .",
58
"hub-project-dev-nobuild": "unset DATA COCALC_ROOT && 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",
59
"hub-personal": "unset DATA COCALC_ROOT && 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",
60
"hub-project-dev": "pnpm build && NODE_OPTIONS='--inspect' pnpm hub-project-dev-nobuild",
61
"hub-project-prod-nobuild": "unset DATA COCALC_ROOT && 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",
62
"hub-project-prod-ssl": "unset DATA COCALC_ROOT && export CONAT_SERVER=https://localhost:$PORT && 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 --https-key=$INIT_CWD/../../data/secrets/cert/key.pem --https-cert=$INIT_CWD/../../data/secrets/cert/cert.pem",
63
"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",
64
"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",
65
"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",
66
"tsc": "tsc --watch --pretty --preserveWatchOutput",
67
"depcheck": "pnpx depcheck | grep -Ev '\\.coffee|coffee$'",
68
"prepublishOnly": "test"
69
},
70
"repository": {
71
"type": "git",
72
"url": "https://github.com/sagemathinc/cocalc"
73
},
74
"keywords": [
75
"python",
76
"sage",
77
"sagemath",
78
"latex",
79
"terminal",
80
"web",
81
"ide",
82
"math",
83
"mathematics"
84
],
85
"author": "SageMath, Inc.",
86
"license": "SEE LICENSE.md",
87
"bugs": {
88
"url": "https://github.com/sagemathinc/cocalc/issues"
89
},
90
"homepage": "https://github.com/sagemathinc/cocalc/tree/master/src/packages/hub",
91
"bin": {
92
"cocalc-hub-server": "./run/hub.js",
93
"cocalc-hub-stats-updater": "./run/stats-updater.js",
94
"cocalc-hub-delete-projects": "./run/delete-projects.js",
95
"cocalc-hub-maintenance-expired": "./run/maintenance-expired.js",
96
"cocalc-hub-maintenance-syncstrings": "./run/maintenance-syncstrings.js",
97
"cocalc-hub-maintenance-blobs": "./run/maintenance-blobs.js",
98
"cocalc-hub-stripe-sync": "./run/stripe-sync.js"
99
}
100
}
101
102