2019-01-08 00:46:19 +00:00
|
|
|
{
|
2020-02-04 19:27:46 +00:00
|
|
|
"name": "code-server",
|
2019-07-03 00:10:17 +00:00
|
|
|
"license": "MIT",
|
2021-03-04 22:24:59 +00:00
|
|
|
"version": "3.9.1",
|
2020-04-30 11:52:54 +00:00
|
|
|
"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",
|
2019-01-08 00:46:19 +00:00
|
|
|
"scripts": {
|
2020-04-30 11:52:54 +00: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 20:39:17 +00:00
|
|
|
"release:standalone": "./ci/build/build-standalone-release.sh",
|
2020-05-11 21:08:22 +00:00
|
|
|
"release:github-draft": "./ci/build/release-github-draft.sh",
|
|
|
|
"release:github-assets": "./ci/build/release-github-assets.sh",
|
2021-03-09 23:35:25 +00:00
|
|
|
"test:e2e": "./ci/dev/test-e2e.sh",
|
2020-05-27 20:39:17 +00:00
|
|
|
"test:standalone-release": "./ci/build/test-standalone-release.sh",
|
2021-03-09 23:35:25 +00:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh",
|
2020-05-08 04:34:20 +00:00
|
|
|
"package": "./ci/build/build-packages.sh",
|
2020-12-17 21:16:04 +00:00
|
|
|
"postinstall": "./ci/dev/postinstall.sh",
|
2021-02-24 20:49:48 +00:00
|
|
|
"update:vscode": "./ci/dev/update-vscode.sh",
|
2020-04-30 11:52:54 +00:00
|
|
|
"_____": "",
|
|
|
|
"fmt": "./ci/dev/fmt.sh",
|
|
|
|
"lint": "./ci/dev/lint.sh",
|
2021-03-15 20:47:22 +00:00
|
|
|
"test": "echo 'Run yarn test:unit or yarn test:e2e' && exit 1",
|
2020-04-30 11:52:54 +00:00
|
|
|
"ci": "./ci/dev/ci.sh",
|
2020-12-01 00:11:26 +00:00
|
|
|
"watch": "VSCODE_IPC_HOOK_CLI= NODE_OPTIONS=--max_old_space_size=32384 ts-node ./ci/dev/watch.ts",
|
2021-01-25 17:34:51 +00:00
|
|
|
"icons": "./ci/dev/gen_icons.sh",
|
|
|
|
"badges": "istanbul-badges-readme"
|
2019-01-08 00:46:19 +00:00
|
|
|
},
|
2020-04-30 11:52:54 +00:00
|
|
|
"main": "out/node/entry.js",
|
2019-01-08 00:46:19 +00:00
|
|
|
"devDependencies": {
|
2021-02-08 23:21:30 +00:00
|
|
|
"@schemastore/package": "^0.0.6",
|
2020-10-20 23:05:58 +00:00
|
|
|
"@types/body-parser": "^1.19.0",
|
2021-02-12 20:27:33 +00:00
|
|
|
"@types/compression": "^1.7.0",
|
2020-10-20 23:05:58 +00:00
|
|
|
"@types/cookie-parser": "^1.4.2",
|
2020-10-15 22:05:55 +00:00
|
|
|
"@types/express": "^4.17.8",
|
2020-03-23 23:02:31 +00:00
|
|
|
"@types/http-proxy": "^1.17.4",
|
2020-05-10 05:19:32 +00:00
|
|
|
"@types/js-yaml": "^3.12.3",
|
2020-08-27 15:04:43 +00:00
|
|
|
"@types/node": "^12.12.7",
|
2020-02-04 19:27:46 +00:00
|
|
|
"@types/parcel-bundler": "^1.12.1",
|
2019-07-11 22:12:52 +00:00
|
|
|
"@types/pem": "^1.9.5",
|
2020-12-18 15:38:00 +00:00
|
|
|
"@types/proxy-from-env": "^1.0.1",
|
2019-07-11 22:12:52 +00:00
|
|
|
"@types/safe-compare": "^1.1.0",
|
2020-02-14 21:57:51 +00:00
|
|
|
"@types/semver": "^7.1.0",
|
2020-09-08 23:39:17 +00:00
|
|
|
"@types/split2": "^2.1.6",
|
2020-08-26 18:27:30 +00:00
|
|
|
"@types/tar-fs": "^2.0.0",
|
|
|
|
"@types/tar-stream": "^2.1.0",
|
|
|
|
"@types/ws": "^7.2.6",
|
2021-02-01 16:06:49 +00:00
|
|
|
"@types/wtfnode": "^0.7.0",
|
2020-11-13 21:28:21 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
|
|
"@typescript-eslint/parser": "^4.7.0",
|
2021-03-15 20:11:48 +00:00
|
|
|
"doctoc": "^2.0.0",
|
2020-08-26 18:27:30 +00:00
|
|
|
"eslint": "^7.7.0",
|
2020-02-04 19:27:46 +00:00
|
|
|
"eslint-config-prettier": "^6.0.0",
|
2021-02-09 22:20:28 +00:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
2020-02-04 19:27:46 +00:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
"eslint-plugin-prettier": "^3.1.0",
|
2021-01-25 17:34:51 +00:00
|
|
|
"istanbul-badges-readme": "^1.2.0",
|
2020-02-04 19:27:46 +00:00
|
|
|
"leaked-handles": "^5.2.0",
|
|
|
|
"parcel-bundler": "^1.12.4",
|
2020-05-14 07:17:17 +00:00
|
|
|
"prettier": "^2.0.5",
|
2020-02-04 19:27:46 +00:00
|
|
|
"stylelint": "^13.0.0",
|
2020-02-19 00:06:35 +00:00
|
|
|
"stylelint-config-recommended": "^3.0.0",
|
2020-08-26 18:27:30 +00:00
|
|
|
"ts-node": "^9.0.0",
|
2021-02-08 23:21:30 +00:00
|
|
|
"typescript": "^4.1.3",
|
|
|
|
"wtfnode": "^0.8.4"
|
2019-07-02 21:55:54 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2020-02-04 19:27:46 +00:00
|
|
|
"@types/node": "^12.12.7",
|
|
|
|
"safe-buffer": "^5.1.1",
|
2021-03-11 20:16:40 +00:00
|
|
|
"vfile-message": "^2.0.2",
|
|
|
|
"node-forge": "^0.10.0"
|
2019-07-11 22:12:52 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-22 22:10:52 +00:00
|
|
|
"@coder/logger": "1.1.16",
|
2020-10-20 23:05:58 +00:00
|
|
|
"body-parser": "^1.19.0",
|
2021-02-12 22:06:41 +00:00
|
|
|
"compression": "^1.7.4",
|
2020-10-20 23:05:58 +00:00
|
|
|
"cookie-parser": "^1.4.5",
|
2020-05-10 05:35:42 +00:00
|
|
|
"env-paths": "^2.2.0",
|
2020-11-05 17:36:27 +00:00
|
|
|
"express": "^5.0.0-alpha.8",
|
2020-03-23 23:02:31 +00:00
|
|
|
"http-proxy": "^1.18.0",
|
2019-07-11 22:12:52 +00:00
|
|
|
"httpolyglot": "^0.1.2",
|
2020-05-10 05:19:32 +00:00
|
|
|
"js-yaml": "^3.13.1",
|
2020-04-27 12:41:52 +00:00
|
|
|
"limiter": "^1.1.5",
|
2021-01-14 14:34:51 +00:00
|
|
|
"node-fetch": "^2.6.1",
|
2019-07-11 22:12:52 +00:00
|
|
|
"pem": "^1.14.2",
|
2020-12-04 05:53:27 +00:00
|
|
|
"proxy-agent": "^4.0.0",
|
2020-12-18 15:38:00 +00:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2020-10-20 23:05:58 +00:00
|
|
|
"qs": "6.7.0",
|
2020-07-23 17:51:08 +00:00
|
|
|
"rotating-file-stream": "^2.1.1",
|
2020-08-26 17:59:41 +00:00
|
|
|
"safe-buffer": "^5.1.1",
|
2019-08-09 23:56:37 +00:00
|
|
|
"safe-compare": "^1.1.4",
|
2020-02-14 21:57:51 +00:00
|
|
|
"semver": "^7.1.3",
|
2020-09-08 23:39:17 +00:00
|
|
|
"split2": "^3.2.2",
|
2020-03-23 23:02:31 +00:00
|
|
|
"tar": "^6.0.1",
|
2019-09-12 17:17:16 +00:00
|
|
|
"tar-fs": "^2.0.0",
|
2020-05-10 05:19:32 +00:00
|
|
|
"ws": "^7.2.0",
|
2020-05-12 23:19:37 +00:00
|
|
|
"xdg-basedir": "^4.0.0",
|
2020-10-07 06:03:27 +00:00
|
|
|
"yarn": "^1.22.4"
|
2020-04-30 11:52:54 +00:00
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"code-server": "out/node/entry.js"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"vscode",
|
|
|
|
"development",
|
|
|
|
"ide",
|
|
|
|
"coder",
|
|
|
|
"vscode-remote",
|
|
|
|
"browser-ide"
|
2020-05-15 01:37:58 +00:00
|
|
|
],
|
|
|
|
"engines": {
|
2021-03-09 21:47:23 +00:00
|
|
|
"node": ">= 12 <= 14"
|
2021-01-21 23:39:04 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.ts$": "<rootDir>/test/node_modules/ts-jest"
|
|
|
|
},
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testPathIgnorePatterns": [
|
2021-01-25 23:34:32 +00:00
|
|
|
"node_modules",
|
|
|
|
"lib",
|
2021-03-09 23:35:25 +00:00
|
|
|
"out",
|
|
|
|
"test/e2e"
|
2021-01-21 23:39:04 +00:00
|
|
|
],
|
|
|
|
"collectCoverage": true,
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.ts"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "<rootDir>/coverage",
|
|
|
|
"coverageReporters": [
|
|
|
|
"json",
|
2021-01-25 17:34:51 +00:00
|
|
|
"json-summary",
|
2021-01-21 23:39:04 +00:00
|
|
|
"text"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"out"
|
2021-01-25 17:34:51 +00:00
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"lines": 40
|
|
|
|
}
|
2021-02-10 16:32:17 +00:00
|
|
|
},
|
2021-02-01 22:26:22 +00:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<rootDir>/lib/vscode",
|
|
|
|
"<rootDir>/release-packages",
|
|
|
|
"<rootDir>/release",
|
2021-02-02 20:58:51 +00:00
|
|
|
"<rootDir>/release-standalone",
|
|
|
|
"<rootDir>/release-npm-package",
|
|
|
|
"<rootDir>/release-gcp",
|
|
|
|
"<rootDir>/release-images"
|
2021-02-11 22:02:13 +00:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2021-03-09 23:35:25 +00:00
|
|
|
"^.+\\.(css|less)$": "<rootDir>/test/utils/cssStub.ts"
|
2021-02-11 22:02:13 +00:00
|
|
|
}
|
2020-05-15 01:37:58 +00:00
|
|
|
}
|
2019-01-08 00:46:19 +00:00
|
|
|
}
|