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-09-09 15:15:39 -07:00
|
|
|
"version": "4.7.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",
|
|
|
|
"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",
|
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",
|
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",
|
2021-04-05 16:32:01 -07:00
|
|
|
"_audit": "./ci/dev/audit.sh",
|
2020-04-30 07:52:54 -04:00
|
|
|
"fmt": "./ci/dev/fmt.sh",
|
2022-09-16 22:17:32 -07:00
|
|
|
"lint:helm": "./ci/dedv/helm.sh",
|
2022-09-16 21:53:16 -07:00
|
|
|
"lint:sh": "shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files '*.sh' | grep -v 'lib/vscode')",
|
2022-09-16 22:25:45 -07:00
|
|
|
"lint:ts": "eslint --max-warnings=0 --fix $(git ls-files '*.ts' '*.tsx' '*.js' | grep -v 'lib/vscode')",
|
2021-03-15 15:47:22 -05:00
|
|
|
"test": "echo 'Run yarn test:unit or yarn test:e2e' && exit 1",
|
2022-09-16 22:37:16 -07:00
|
|
|
"typecheck": "tsc -p tsconfig.json --noEmit --skipLibCheck",
|
2020-04-30 07:52:54 -04:00
|
|
|
"ci": "./ci/dev/ci.sh",
|
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": {
|
2021-02-08 16:21:30 -07:00
|
|
|
"@schemastore/package": "^0.0.6",
|
2021-02-12 13:27:33 -07:00
|
|
|
"@types/compression": "^1.7.0",
|
2020-10-20 18:05:58 -05:00
|
|
|
"@types/cookie-parser": "^1.4.2",
|
2020-10-15 17:05:55 -05:00
|
|
|
"@types/express": "^4.17.8",
|
2020-03-23 18:02:31 -05:00
|
|
|
"@types/http-proxy": "^1.17.4",
|
2021-03-18 16:30:10 -05:00
|
|
|
"@types/js-yaml": "^4.0.0",
|
2022-08-10 16:15:52 -05:00
|
|
|
"@types/node": "^16.0.0",
|
2019-07-11 17:12:52 -05:00
|
|
|
"@types/pem": "^1.9.5",
|
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",
|
2020-02-14 15:57:51 -06:00
|
|
|
"@types/semver": "^7.1.0",
|
2021-05-05 18:04:35 +05:30
|
|
|
"@types/split2": "^3.2.0",
|
2021-09-29 23:14:56 -04:00
|
|
|
"@types/trusted-types": "^2.0.2",
|
2022-08-10 16:15:52 -05:00
|
|
|
"@types/ws": "^8.5.3",
|
2022-05-14 00:57:50 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
|
|
"@typescript-eslint/parser": "^5.23.0",
|
2022-03-14 14:48:12 -07:00
|
|
|
"audit-ci": "^6.0.0",
|
2021-03-15 15:11:48 -05:00
|
|
|
"doctoc": "^2.0.0",
|
2020-08-26 14:27:30 -04:00
|
|
|
"eslint": "^7.7.0",
|
2021-03-18 16:31:23 -05:00
|
|
|
"eslint-config-prettier": "^8.1.0",
|
2021-12-08 05:39:01 +08:00
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
2020-02-04 13:27:46 -06:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2021-08-30 22:22:36 +00:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-03-15 15:14:26 -07:00
|
|
|
"prettier": "^2.2.1",
|
2022-06-29 16:25:52 +00:00
|
|
|
"prettier-plugin-sh": "^0.12.0",
|
2021-04-08 23:42:01 +05:30
|
|
|
"shellcheck": "^1.0.0",
|
2021-05-24 21:45:22 +00:00
|
|
|
"ts-node": "^10.0.0",
|
2022-05-14 00:57:50 +08:00
|
|
|
"typescript": "^4.6.2"
|
2019-07-02 16:55:54 -05:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-09-27 12:15:18 -07:00
|
|
|
"ansi-regex": "^5.0.1",
|
2022-03-15 09:27:04 -07:00
|
|
|
"normalize-package-data": "^4.0.0",
|
2021-05-10 13:01:58 +05:30
|
|
|
"doctoc/underscore": "^1.13.1",
|
2021-05-12 00:44:50 +05:30
|
|
|
"doctoc/**/trim": "^1.0.0",
|
|
|
|
"postcss": "^8.2.1",
|
2021-05-24 14:21:00 -07:00
|
|
|
"browserslist": "^4.16.5",
|
2020-02-04 13:27:46 -06:00
|
|
|
"safe-buffer": "^5.1.1",
|
2021-08-04 10:41:37 -07:00
|
|
|
"vfile-message": "^2.0.2",
|
2021-11-03 14:09:31 -07:00
|
|
|
"tar": "^6.1.9",
|
|
|
|
"path-parse": "^1.0.7",
|
2022-02-15 13:40:53 -07:00
|
|
|
"vm2": "^3.9.6",
|
|
|
|
"follow-redirects": "^1.14.8",
|
2022-01-25 10:52:17 -07:00
|
|
|
"node-fetch": "^2.6.7",
|
2022-03-21 16:18:32 -07:00
|
|
|
"nanoid": "^3.1.31",
|
2022-07-18 14:37:54 -07:00
|
|
|
"minimist": "npm:minimist-lite@2.2.1",
|
2022-08-10 16:15:52 -05:00
|
|
|
"glob-parent": "^6.0.1",
|
|
|
|
"@types/node": "^16.0.0"
|
2019-07-11 17:12:52 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-09 15:15:39 -07:00
|
|
|
"@coder/logger": "^3.0.0",
|
2022-08-23 16:18:52 +00:00
|
|
|
"argon2": "^0.29.0",
|
2021-02-12 16:06:41 -06:00
|
|
|
"compression": "^1.7.4",
|
2020-10-20 18:05:58 -05:00
|
|
|
"cookie-parser": "^1.4.5",
|
2020-05-10 01:35:42 -04:00
|
|
|
"env-paths": "^2.2.0",
|
2022-03-01 10:24:06 -08:00
|
|
|
"express": "5.0.0-alpha.8",
|
2020-03-23 18:02:31 -05:00
|
|
|
"http-proxy": "^1.18.0",
|
2019-07-11 17:12:52 -05:00
|
|
|
"httpolyglot": "^0.1.2",
|
2021-03-18 16:30:10 -05:00
|
|
|
"js-yaml": "^4.0.0",
|
2020-04-27 08:41:52 -04:00
|
|
|
"limiter": "^1.1.5",
|
2019-07-11 17:12:52 -05:00
|
|
|
"pem": "^1.14.2",
|
2021-07-15 11:02:15 +00:00
|
|
|
"proxy-agent": "^5.0.0",
|
2022-06-29 16:25:52 +00:00
|
|
|
"qs": "6.11.0",
|
2021-11-05 12:04:10 -07:00
|
|
|
"rotating-file-stream": "^3.0.0",
|
2020-08-26 13:59:41 -04:00
|
|
|
"safe-buffer": "^5.1.1",
|
2019-08-09 18:56:37 -05:00
|
|
|
"safe-compare": "^1.1.4",
|
2020-02-14 15:57:51 -06:00
|
|
|
"semver": "^7.1.3",
|
2021-10-29 12:32:49 -07:00
|
|
|
"split2": "^4.0.0",
|
2021-07-28 19:59:03 +00:00
|
|
|
"ws": "^8.0.0",
|
2022-08-22 14:07:57 -07:00
|
|
|
"xdg-basedir": "^4.0.0"
|
2020-04-30 07:52:54 -04:00
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"code-server": "out/node/entry.js"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"vscode",
|
|
|
|
"development",
|
|
|
|
"ide",
|
|
|
|
"coder",
|
|
|
|
"vscode-remote",
|
|
|
|
"browser-ide"
|
2020-05-14 21:37:58 -04:00
|
|
|
],
|
|
|
|
"engines": {
|
2022-05-04 14:58:49 -07:00
|
|
|
"node": "16"
|
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
|
|
|
}
|