smc-hub
Version:
CoCalc: Backend webserver component
163 lines (162 loc) • 5.98 kB
JSON
{
"name": "smc-hub",
"version": "1.9.0",
"description": "CoCalc: Backend webserver component",
"exports": {
"./*": "./dist/*.js",
"./run/*": "./run/*.js"
},
"workspaces": [
"./",
"../smc-util",
"../smc-util-node",
"../smc-webapp",
"../webapp-lib",
"../packages/cdn",
"../packages/landing",
"../packages/static",
"../packages/landing-free",
"../packages/share"
],
"dependencies": {
"@cocalc/cdn": "*",
"@cocalc/landing-free": "*",
"@cocalc/share": "*",
"@cocalc/static": "*",
"@passport-next/passport-google-oauth2": "^1.0.0",
"@passport-next/passport-oauth2": "^2.1.1",
"@sendgrid/client": "^6.5.1",
"@types/lru-cache": "^5.1.0",
"async": "^1.5.2",
"async-await-utils": "^3.0.1",
"awaiting": "^3.0.0",
"basic-auth": "^2.0.0",
"bindings": "^1.3.0",
"blocked": "^1.1.0",
"bottleneck": "^2.19.5",
"codemirror": "^5.62.0",
"commander": "^7.2.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.3",
"cookies": "^0.8.0",
"cors": "^2.8.5",
"debug": "^4.3.2",
"dot-object": "^2.1.3",
"engine.io": "^3.5.0",
"express": "^4.17.1",
"express-session": "^1.10.4",
"http-proxy": "^1.18.1",
"immutable": "^3.8.2",
"jquery": "^3.5.1",
"jsdom": "^16.2.2",
"json-stable-stringify": "^1.0.1",
"jstransformer-coffee-script": "^1.1.1",
"jstransformer-sass": "^1.0.0",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"mime": "^1.3.4",
"mkdirp": "^1.0.4",
"moment": "^2.29.1",
"next": "11.0.1",
"node-uuid": "^1.4.2",
"node-zendesk": "^1.3.0",
"nodemailer": "^6.5.0",
"nyc": "^15.0.1",
"parse-domain": "^3.0.2",
"passport": "^0.4.1",
"passport-dropbox-oauth2": "^1.1.0",
"passport-facebook": "^3.0.0",
"passport-github2": "^0.1.12",
"passport-ldapauth": "^3.0.1",
"passport-local": "^1.0.0",
"passport-oauth": "^1.0.0",
"passport-oauth2": "^1.5.0",
"passport-orcid": "0.0.4",
"passport-saml": "^1.3.4",
"passport-twitter": "^1.0.4",
"password-hash": "^1.2.2",
"pg": "^8.2.1",
"pg-native": "^3.0.0",
"primus": "^8.0.3",
"prom-client": "^13.0.0",
"pug": "^3.0.2",
"random-key": "^0.3.2",
"read": "^1.0.5",
"require-reload": "^0.2.2",
"rimraf": "^2.4.4",
"safe-json-stringify": "^1.2.0",
"sanitize-html": "^2.3.2",
"serve-index": "^1.9.1",
"smc-util": "*",
"smc-util-node": "*",
"smc-webapp": "*",
"snappy": "^6.3.5",
"sql-string-escape": "^1.1.6",
"stripe": "8.78.0",
"temp": "^0.9.1",
"uglify-js": "^3.13.9",
"underscore": "^1.12.1",
"validator": "^13.0.0",
"webapp-lib": "*"
},
"devDependencies": {
"@types/http-proxy": "^1.17.6",
"@types/mocha": "^5.2.7",
"@types/node": "^14.17.5",
"@types/passport": "^1.0.3",
"@types/react-dom": "^17.0.0",
"@types/sanitize-html": "^2.3.1",
"coffee-coverage": "^3.0.1",
"coffeelint": "^2.1.0",
"coffeescript": "^2.5.1",
"coveralls": "^3.0.2",
"expect": "^26.6.2",
"mocha": "^8.4.0",
"mocha-lcov-reporter": "1.0.0",
"node-cjsx": "^2.0.0",
"should": "^7.1.1",
"sinon": "^4.5.0",
"ts-mocha": "^7.0.0",
"typescript": "^4.3.5"
},
"scripts": {
"build": "tsc && coffee -m -c -o dist/ .",
"hub-project-dev": "npm run build && unset DATA SMC_ROOT BASE_PATH && PGUSER='smc' PGHOST=$INIT_CWD/../data/postgres/socket DEBUG='cocalc:*,-cocalc:silly:*' NODE_ENV=development NODE_OPTIONS='--trace-warnings --enable-source-maps' npx cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
"hub-project-dev-nobuild": "unset DATA SMC_ROOT BASE_PATH && PGUSER='smc' PGHOST=$INIT_CWD/../data/postgres/socket DEBUG='cocalc:*,-cocalc:silly:*' NODE_ENV=development NODE_OPTIONS=--enable-source-maps npx cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
"hub-project-prod": "npm run build && unset DATA SMC_ROOT BASE_PATH && PGUSER='smc' PGHOST=$INIT_CWD/../data/postgres/socket DEBUG='cocalc:*,-cocalc:silly:*' NODE_ENV=production NODE_OPTIONS=--enable-source-maps npx cocalc-hub-server --mode=single-user --all --hostname=0.0.0.0",
"hub-docker-dev": "COCALC_DOCKER=true DEBUG='cocalc:*,-cocalc:silly:*' NODE_ENV=development PROJECTS=/projects PORT=443 NODE_OPTIONS='--trace-warnings --enable-source-maps' npx 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",
"hub-docker-prod": "COCALC_DOCKER=true DEBUG='cocalc:*,-cocalc:silly:*' NODE_OPTIONS=--max_old_space_size=8000 NODE_ENV=production PROJECTS=/projects PORT=443 NODE_OPTIONS=--enable-source-maps npx 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",
"landing-dev": "npm run build && unset SMC_ROOT && NODE_ENV=development NODE_OPTIONS=--enable-source-maps npx cocalc-hub-server --mode=kucalc --landing-server --hostname=0.0.0.0",
"tsc": "npx tsc --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/sagemathinc/cocalc"
},
"keywords": [
"python",
"sage",
"sagemath",
"latex",
"terminal",
"web",
"ide",
"math",
"mathematics"
],
"author": "SageMath, Inc.",
"license": "SEE LICENSE.md",
"bugs": {
"url": "https://github.com/sagemathinc/cocalc/issues"
},
"homepage": "https://github.com/sagemathinc/cocalc",
"bin": {
"cocalc-hub-server": "./run/hub.js",
"cocalc-hub-stats-updater": "./run/stats-updater.js",
"cocalc-hub-delete-projects": "./run/delete-projects.js",
"cocalc-hub-maintenance-expired": "./run/maintenance-expired.js",
"cocalc-hub-maintenance-syncstrings": "./run/maintenance-syncstrings.js",
"cocalc-hub-maintenance-blobs": "./run/maintenance-blobs.js",
"cocalc-hub-stripe-sync": "./run/stripe-sync.js"
}
}