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