2019-01-07 18:46:19 -06:00
|
|
|
{
|
2020-02-04 13:27:46 -06:00
|
|
|
"name": "code-server",
|
2019-07-02 19:10:17 -05:00
|
|
|
"license": "MIT",
|
2022-11-08 15:45:01 -07:00
|
|
|
"version": "0.0.0",
|
2020-04-30 07:52:54 -04:00
|
|
|
"description": "Run VS Code on a remote server.",
|
2022-02-01 22:15:19 +05:30
|
|
|
"homepage": "https://github.com/coder/code-server",
|
2020-04-30 07:52:54 -04:00
|
|
|
"bugs": {
|
2022-02-01 22:15:19 +05:30
|
|
|
"url": "https://github.com/coder/code-server/issues"
|
2020-04-30 07:52:54 -04:00
|
|
|
},
|
2022-02-01 22:15:19 +05:30
|
|
|
"repository": "https://github.com/coder/code-server",
|
2019-01-07 18:46:19 -06:00
|
|
|
"scripts": {
|
2020-04-30 07:52:54 -04:00
|
|
|
"clean": "./ci/build/clean.sh",
|
|
|
|
|
"build": "./ci/build/build-code-server.sh",
|
|
|
|
|
"build:vscode": "./ci/build/build-vscode.sh",
|
2022-10-13 15:16:55 -07:00
|
|
|
"doctoc": "./ci/dev/doctoc.sh",
|
2020-04-30 07:52:54 -04:00
|
|
|
"release": "./ci/build/build-release.sh",
|
2020-05-27 16:39:17 -04:00
|
|
|
"release:standalone": "./ci/build/build-standalone-release.sh",
|
2021-03-22 16:19:01 -07:00
|
|
|
"release:prep": "./ci/build/release-prep.sh",
|
2022-02-15 14:51:42 -07:00
|
|
|
"test:e2e": "VSCODE_IPC_HOOK_CLI= ./ci/dev/test-e2e.sh",
|
2022-08-09 13:24:37 -05:00
|
|
|
"test:e2e:proxy": "USE_PROXY=1 ./ci/dev/test-e2e.sh",
|
2021-10-28 13:27:17 -07:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh --forceExit --detectOpenHandles",
|
2022-06-24 11:33:38 -05:00
|
|
|
"test:integration": "./ci/dev/test-integration.sh",
|
2022-09-22 12:33:32 -07:00
|
|
|
"test:native": "./ci/dev/test-native.sh",
|
2021-07-13 12:22:00 -05:00
|
|
|
"test:scripts": "./ci/dev/test-scripts.sh",
|
2020-05-08 00:34:20 -04:00
|
|
|
"package": "./ci/build/build-packages.sh",
|
2024-10-18 06:31:28 +02:00
|
|
|
"prettier": "prettier --write --log-level=warn --cache .",
|
|
|
|
|
"preinstall": "node ./ci/dev/preinstall.js",
|
2020-12-17 15:16:04 -06:00
|
|
|
"postinstall": "./ci/dev/postinstall.sh",
|
2022-01-21 16:28:56 -07:00
|
|
|
"publish:npm": "./ci/steps/publish-npm.sh",
|
2022-04-14 17:02:03 -07:00
|
|
|
"publish:docker": "./ci/steps/docker-buildx-push.sh",
|
2024-10-18 06:31:28 +02:00
|
|
|
"fmt": "npm run prettier && ./ci/dev/doctoc.sh",
|
2022-09-22 12:33:32 -07:00
|
|
|
"lint:scripts": "./ci/dev/lint-scripts.sh",
|
2025-03-06 14:29:18 -09:00
|
|
|
"lint:ts": "eslint --max-warnings=0 --fix $(git ls-files '*.ts' '*.js' | grep -v 'lib/vscode')",
|
2024-10-18 06:31:28 +02:00
|
|
|
"test": "echo 'Run npm run test:unit or npm run test:e2e' && exit 1",
|
2021-11-10 00:28:31 -05:00
|
|
|
"watch": "VSCODE_DEV=1 VSCODE_IPC_HOOK_CLI= NODE_OPTIONS='--max_old_space_size=32384 --trace-warnings' ts-node ./ci/dev/watch.ts",
|
2022-06-28 10:04:35 -07:00
|
|
|
"icons": "./ci/dev/gen_icons.sh"
|
2019-01-07 18:46:19 -06:00
|
|
|
},
|
2020-04-30 07:52:54 -04:00
|
|
|
"main": "out/node/entry.js",
|
2019-01-07 18:46:19 -06:00
|
|
|
"devDependencies": {
|
2024-10-18 06:31:28 +02:00
|
|
|
"@eslint/compat": "^1.2.0",
|
|
|
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
|
|
|
"@eslint/js": "^9.12.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"@schemastore/package": "^0.0.10",
|
|
|
|
|
"@types/compression": "^1.7.3",
|
|
|
|
|
"@types/cookie-parser": "^1.4.4",
|
2024-10-18 06:31:28 +02:00
|
|
|
"@types/eslint__js": "^8.42.3",
|
2025-03-06 21:16:42 +00:00
|
|
|
"@types/express": "^5.0.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"@types/http-proxy": "1.17.7",
|
|
|
|
|
"@types/js-yaml": "^4.0.6",
|
2025-06-16 23:03:47 +02:00
|
|
|
"@types/node": "22.x",
|
2023-09-21 16:13:34 -08:00
|
|
|
"@types/pem": "^1.14.1",
|
2020-12-18 10:38:00 -05:00
|
|
|
"@types/proxy-from-env": "^1.0.1",
|
2019-07-11 17:12:52 -05:00
|
|
|
"@types/safe-compare": "^1.1.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"@types/semver": "^7.5.2",
|
|
|
|
|
"@types/trusted-types": "^2.0.4",
|
|
|
|
|
"@types/ws": "^8.5.5",
|
|
|
|
|
"doctoc": "^2.2.1",
|
2024-10-18 06:31:28 +02:00
|
|
|
"eslint": "^9.12.0",
|
2026-03-03 15:27:51 -09:00
|
|
|
"eslint-config-prettier": "^10.1.8",
|
2025-08-04 11:37:04 -08:00
|
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
2023-09-21 16:13:34 -08:00
|
|
|
"eslint-plugin-import": "^2.28.1",
|
|
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
2025-05-19 12:09:04 -08:00
|
|
|
"globals": "^16.1.0",
|
2025-08-04 12:46:32 -08:00
|
|
|
"prettier": "3.6.2",
|
2026-01-23 12:46:37 -09:00
|
|
|
"prettier-plugin-sh": "^0.18.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"ts-node": "^10.9.1",
|
2024-10-18 06:31:28 +02:00
|
|
|
"typescript": "^5.6.2",
|
|
|
|
|
"typescript-eslint": "^8.8.0"
|
2019-07-11 17:12:52 -05:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2023-09-21 16:13:34 -08:00
|
|
|
"@coder/logger": "^3.0.1",
|
2026-01-23 12:36:30 -09:00
|
|
|
"argon2": "^0.44.0",
|
2021-02-12 16:06:41 -06:00
|
|
|
"compression": "^1.7.4",
|
2023-09-21 16:13:34 -08:00
|
|
|
"cookie-parser": "^1.4.6",
|
|
|
|
|
"env-paths": "^2.2.1",
|
2025-03-06 21:16:42 +00:00
|
|
|
"express": "^5.0.1",
|
2023-09-21 16:13:34 -08:00
|
|
|
"http-proxy": "^1.18.1",
|
2019-07-11 17:12:52 -05:00
|
|
|
"httpolyglot": "^0.1.2",
|
2026-03-12 13:10:54 -05:00
|
|
|
"i18next": "^25.8.3",
|
2023-09-21 16:13:34 -08:00
|
|
|
"js-yaml": "^4.1.0",
|
2023-02-06 13:12:57 -06:00
|
|
|
"limiter": "^2.1.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"pem": "^1.14.8",
|
|
|
|
|
"proxy-agent": "^6.3.1",
|
2026-03-03 15:34:30 -09:00
|
|
|
"qs": "^6.15.0",
|
2023-09-21 16:13:34 -08:00
|
|
|
"rotating-file-stream": "^3.1.1",
|
2019-08-09 18:56:37 -05:00
|
|
|
"safe-compare": "^1.1.4",
|
2023-09-21 16:13:34 -08:00
|
|
|
"semver": "^7.5.4",
|
|
|
|
|
"ws": "^8.14.2",
|
2022-08-22 14:07:57 -07:00
|
|
|
"xdg-basedir": "^4.0.0"
|
2020-04-30 07:52:54 -04:00
|
|
|
},
|
2023-09-21 16:13:34 -08:00
|
|
|
"resolutions": {
|
2025-06-16 23:03:47 +02:00
|
|
|
"@types/node": "22.x"
|
2023-09-21 16:13:34 -08:00
|
|
|
},
|
2020-04-30 07:52:54 -04:00
|
|
|
"bin": {
|
|
|
|
|
"code-server": "out/node/entry.js"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"vscode",
|
|
|
|
|
"development",
|
|
|
|
|
"ide",
|
|
|
|
|
"coder",
|
|
|
|
|
"vscode-remote",
|
2022-12-06 13:28:27 -07:00
|
|
|
"browser-ide",
|
|
|
|
|
"remote-development"
|
2020-05-14 21:37:58 -04:00
|
|
|
],
|
|
|
|
|
"engines": {
|
2025-06-16 23:03:47 +02:00
|
|
|
"node": "22"
|
2021-01-21 16:39:04 -07:00
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"transform": {
|
|
|
|
|
"^.+\\.ts$": "<rootDir>/test/node_modules/ts-jest"
|
|
|
|
|
},
|
|
|
|
|
"testEnvironment": "node",
|
|
|
|
|
"testPathIgnorePatterns": [
|
2021-03-16 14:35:43 -07:00
|
|
|
"/node_modules/",
|
|
|
|
|
"/lib/",
|
2021-03-16 14:42:51 -07:00
|
|
|
"/out/",
|
2021-03-09 16:35:25 -07:00
|
|
|
"test/e2e"
|
2021-01-21 16:39:04 -07:00
|
|
|
],
|
|
|
|
|
"collectCoverage": true,
|
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
|
"<rootDir>/src/**/*.ts"
|
|
|
|
|
],
|
|
|
|
|
"coverageDirectory": "<rootDir>/coverage",
|
|
|
|
|
"coverageReporters": [
|
|
|
|
|
"json",
|
2021-01-25 10:34:51 -07:00
|
|
|
"json-summary",
|
2021-04-22 15:03:15 -07:00
|
|
|
"text",
|
|
|
|
|
"clover"
|
2021-01-21 16:39:04 -07:00
|
|
|
],
|
|
|
|
|
"coveragePathIgnorePatterns": [
|
2021-05-05 16:38:54 -07:00
|
|
|
"/out"
|
2021-01-25 10:34:51 -07:00
|
|
|
],
|
|
|
|
|
"coverageThreshold": {
|
|
|
|
|
"global": {
|
2021-07-21 11:15:17 -07:00
|
|
|
"lines": 60
|
2021-01-25 10:34:51 -07:00
|
|
|
}
|
2021-02-10 10:32:17 -06:00
|
|
|
},
|
2021-02-01 15:26:22 -07:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
|
"<rootDir>/release-packages",
|
|
|
|
|
"<rootDir>/release",
|
2021-02-02 13:58:51 -07:00
|
|
|
"<rootDir>/release-standalone",
|
|
|
|
|
"<rootDir>/release-npm-package",
|
|
|
|
|
"<rootDir>/release-gcp",
|
2021-12-17 12:58:46 -07:00
|
|
|
"<rootDir>/release-images",
|
2022-03-14 21:37:29 -05:00
|
|
|
"<rootDir>/lib"
|
2021-02-11 15:02:13 -07:00
|
|
|
],
|
|
|
|
|
"moduleNameMapper": {
|
2021-03-09 16:35:25 -07:00
|
|
|
"^.+\\.(css|less)$": "<rootDir>/test/utils/cssStub.ts"
|
2021-12-17 13:06:52 -06:00
|
|
|
},
|
|
|
|
|
"globalSetup": "<rootDir>/test/utils/globalUnitSetup.ts"
|
2020-05-14 21:37:58 -04:00
|
|
|
}
|
2019-01-07 18:46:19 -06:00
|
|
|
}
|