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. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/package.json
Views: 1250
1
{
2
"name": "cocalc",
3
"version": "1.0.0",
4
"description": "CoCalc: Collaborative Calculation",
5
"scripts": {
6
"make": "pnpm run build",
7
"make-dev": "pnpm run build-dev",
8
"build": "./workspaces.py install && ./workspaces.py build",
9
"build-dev": "./workspaces.py install && ./workspaces.py build --dev",
10
"clean": "rm -rf packages/node_modules && ./workspaces.py clean && cd compute/compute && pnpm clean ",
11
"hub": "cd packages/hub && npm run hub-project-dev-nobuild",
12
"rspack": "cd packages/static && pnpm watch",
13
"psql": "export PGHOST=${PGHOST:=$INIT_CWD/data/postgres/socket}; PGUSER='smc' psql",
14
"database": "cd dev/project && ./start_postgres.py",
15
"database-remove-locks": "./scripts/database-remove-locks",
16
"c": "LOGS=/tmp/ DEBUG='cocalc:*' ./scripts/c",
17
"version-check": "pip3 install typing_extensions mypy || pip3 install --break-system-packages typing_extensions mypy && ./workspaces.py version-check && mypy scripts/check_npm_packages.py",
18
"test-parallel": "unset DEBUG && pnpm run version-check && cd packages && pnpm run -r --parallel test",
19
"test": "unset DEBUG && pnpm run version-check && cd packages && pnpm run -r test",
20
"prettier-all": "cd packages/",
21
"nats-server": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/install').main()\" && node -e \"require('@cocalc/backend/nats/conf').main()\" && node -e \"require('@cocalc/backend/nats/server').main()\"",
22
"build-nats": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/util && pnpm install && pnpm build && cd ${COCALC_ROOT:=$INIT_CWD}/packages/nats && pnpm install && pnpm build && cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && pnpm install && pnpm build",
23
"nats-server-ci": "pnpm run build-nats && cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/install').main()\" && node -e \"require('@cocalc/backend/nats/conf').main()\" && node -e \"require('@cocalc/backend/nats/server').main()\"",
24
"nats-server-daemon": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/install').main()\" && node -e \"require('@cocalc/backend/nats/conf').main()\" && node -e \"require('@cocalc/backend/nats/server').main({daemon:true})\"",
25
"nats-server-verbose": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/install').main()\" && node -e \"require('@cocalc/backend/nats/conf').main()\" && node -e \"require('@cocalc/backend/nats/server').main({verbose:true})\"",
26
"nats-cli": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/cli').main()\"",
27
"nats-sys": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/backend && node -e \"require('@cocalc/backend/nats/cli').main({user:'sys'})\"",
28
"nats-tiered-storage": "cd ${COCALC_ROOT:=$INIT_CWD}/packages/server && DEBUG=cocalc:* DEBUG_CONSOLE=yes node -e \"require('@cocalc/server/nats/tiered-storage').init()\"",
29
"local-ci": "./scripts/ci.sh"
30
},
31
"repository": {
32
"type": "git",
33
"url": "https://github.com/sagemathinc/cocalc"
34
},
35
"keywords": [
36
"python",
37
"sage",
38
"sagemath",
39
"latex",
40
"terminal",
41
"web",
42
"ide",
43
"math",
44
"mathematics"
45
],
46
"author": "SageMath, Inc.",
47
"license": "SEE LICENSE.md",
48
"bugs": {
49
"url": "https://github.com/sagemathinc/cocalc/issues"
50
},
51
"homepage": "https://github.com/sagemathinc/cocalc",
52
"dependencies": {
53
"lru-cache": "^7.18.3"
54
},
55
"pnpm": {
56
"onlyBuiltDependencies": [
57
"websocketfs",
58
"websocket-sftp",
59
"@cocalc/fuse-native"
60
]
61
}
62
}
63
64