mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
197a09f0c1
Unfortunately we can't use node-mocks-http to test a express.Router that has async routes. See https://github.com/howardabrams/node-mocks-http/issues/225 router will just return undefined if the executing handler is async and so the test will have no way to wait for it to complete. Thus, we have to use supertest which starts an actual HTTP server in the background and uses a HTTP client to send requests.
111 lines
3.2 KiB
JSON
111 lines
3.2 KiB
JSON
{
|
|
"name": "code-server",
|
|
"license": "MIT",
|
|
"version": "3.6.0",
|
|
"description": "Run VS Code on a remote server.",
|
|
"homepage": "https://github.com/cdr/code-server",
|
|
"bugs": {
|
|
"url": "https://github.com/cdr/code-server/issues"
|
|
},
|
|
"repository": "https://github.com/cdr/code-server",
|
|
"scripts": {
|
|
"clean": "./ci/build/clean.sh",
|
|
"vscode": "./ci/dev/vscode.sh",
|
|
"vscode:patch": "./ci/dev/patch-vscode.sh",
|
|
"vscode:diff": "./ci/dev/diff-vscode.sh",
|
|
"build": "./ci/build/build-code-server.sh",
|
|
"build:vscode": "./ci/build/build-vscode.sh",
|
|
"release": "./ci/build/build-release.sh",
|
|
"release:standalone": "./ci/build/build-standalone-release.sh",
|
|
"release:github-draft": "./ci/build/release-github-draft.sh",
|
|
"release:github-assets": "./ci/build/release-github-assets.sh",
|
|
"test:standalone-release": "./ci/build/test-standalone-release.sh",
|
|
"package": "./ci/build/build-packages.sh",
|
|
"_____": "",
|
|
"fmt": "./ci/dev/fmt.sh",
|
|
"lint": "./ci/dev/lint.sh",
|
|
"test": "./ci/dev/test.sh",
|
|
"ci": "./ci/dev/ci.sh",
|
|
"watch": "VSCODE_IPC_HOOK_CLI= NODE_OPTIONS=--max_old_space_size=32384 ts-node ./ci/dev/watch.ts"
|
|
},
|
|
"main": "out/node/entry.js",
|
|
"devDependencies": {
|
|
"@types/body-parser": "^1.19.0",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/express": "^4.17.8",
|
|
"@types/fs-extra": "^8.0.1",
|
|
"@types/http-proxy": "^1.17.4",
|
|
"@types/js-yaml": "^3.12.3",
|
|
"@types/mocha": "^8.0.3",
|
|
"@types/node": "^12.12.7",
|
|
"@types/parcel-bundler": "^1.12.1",
|
|
"@types/pem": "^1.9.5",
|
|
"@types/safe-compare": "^1.1.0",
|
|
"@types/semver": "^7.1.0",
|
|
"@types/split2": "^2.1.6",
|
|
"@types/supertest": "^2.0.10",
|
|
"@types/tar-fs": "^2.0.0",
|
|
"@types/tar-stream": "^2.1.0",
|
|
"@types/ws": "^7.2.6",
|
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
|
"@typescript-eslint/parser": "^3.10.1",
|
|
"doctoc": "^1.4.0",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"leaked-handles": "^5.2.0",
|
|
"mocha": "^8.1.2",
|
|
"parcel-bundler": "^1.12.4",
|
|
"prettier": "^2.0.5",
|
|
"stylelint": "^13.0.0",
|
|
"stylelint-config-recommended": "^3.0.0",
|
|
"supertest": "^6.0.1",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "4.0.2"
|
|
},
|
|
"resolutions": {
|
|
"@types/node": "^12.12.7",
|
|
"safe-buffer": "^5.1.1",
|
|
"vfile-message": "^2.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@coder/logger": "1.1.16",
|
|
"body-parser": "^1.19.0",
|
|
"cookie-parser": "^1.4.5",
|
|
"env-paths": "^2.2.0",
|
|
"express": "^5.0.0-alpha.8",
|
|
"fs-extra": "^9.0.1",
|
|
"http-proxy": "^1.18.0",
|
|
"httpolyglot": "^0.1.2",
|
|
"js-yaml": "^3.13.1",
|
|
"limiter": "^1.1.5",
|
|
"pem": "^1.14.2",
|
|
"qs": "6.7.0",
|
|
"rotating-file-stream": "^2.1.1",
|
|
"safe-buffer": "^5.1.1",
|
|
"safe-compare": "^1.1.4",
|
|
"semver": "^7.1.3",
|
|
"split2": "^3.2.2",
|
|
"tar": "^6.0.1",
|
|
"tar-fs": "^2.0.0",
|
|
"ws": "^7.2.0",
|
|
"xdg-basedir": "^4.0.0",
|
|
"yarn": "^1.22.4"
|
|
},
|
|
"bin": {
|
|
"code-server": "out/node/entry.js"
|
|
},
|
|
"keywords": [
|
|
"vscode",
|
|
"development",
|
|
"ide",
|
|
"coder",
|
|
"vscode-remote",
|
|
"browser-ide"
|
|
],
|
|
"engines": {
|
|
"node": ">= 12"
|
|
}
|
|
}
|