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