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",
|
2022-01-05 20:06:32 +00:00
|
|
|
"version": "4.0.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-22 23:19:01 +00:00
|
|
|
"release:prep": "./ci/build/release-prep.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-10-28 20:27:17 +00:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh --forceExit --detectOpenHandles",
|
2021-07-13 17:22:00 +00:00
|
|
|
"test:scripts": "./ci/dev/test-scripts.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",
|
2022-01-21 23:28:56 +00:00
|
|
|
"publish:npm": "./ci/steps/publish-npm.sh",
|
2021-04-05 23:32:01 +00:00
|
|
|
"_audit": "./ci/dev/audit.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",
|
2021-11-10 05:28:31 +00:00
|
|
|
"watch": "VSCODE_DEV=1 VSCODE_IPC_HOOK_CLI= NODE_OPTIONS='--max_old_space_size=32384 --trace-warnings' ts-node ./ci/dev/watch.ts",
|
2021-01-25 17:34:51 +00:00
|
|
|
"icons": "./ci/dev/gen_icons.sh",
|
2021-04-22 22:27:54 +00:00
|
|
|
"coverage": "codecov"
|
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",
|
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",
|
2021-03-18 21:30:10 +00:00
|
|
|
"@types/js-yaml": "^4.0.0",
|
2021-06-01 17:19:03 +00:00
|
|
|
"@types/node": "^14.17.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",
|
2021-05-05 12:34:35 +00:00
|
|
|
"@types/split2": "^3.2.0",
|
2021-09-30 03:14:56 +00:00
|
|
|
"@types/trusted-types": "^2.0.2",
|
2021-09-29 22:06:02 +00:00
|
|
|
"@types/ws": "^8.0.0",
|
2021-10-29 23:34:24 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
|
|
"@typescript-eslint/parser": "^5.0.0",
|
2021-11-01 22:15:34 +00:00
|
|
|
"audit-ci": "^5.0.0",
|
2021-07-19 23:00:28 +00:00
|
|
|
"codecov": "^3.8.3",
|
2021-03-15 20:11:48 +00:00
|
|
|
"doctoc": "^2.0.0",
|
2020-08-26 18:27:30 +00:00
|
|
|
"eslint": "^7.7.0",
|
2021-03-18 21:31:23 +00:00
|
|
|
"eslint-config-prettier": "^8.1.0",
|
2021-12-07 21:39:01 +00:00
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
2020-02-04 19:27:46 +00:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2021-08-30 22:22:36 +00:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-03-15 22:14:26 +00:00
|
|
|
"prettier": "^2.2.1",
|
2021-11-29 18:31:35 +00:00
|
|
|
"prettier-plugin-sh": "^0.8.0",
|
2021-04-08 18:12:01 +00:00
|
|
|
"shellcheck": "^1.0.0",
|
2020-02-04 19:27:46 +00:00
|
|
|
"stylelint": "^13.0.0",
|
2021-04-27 16:02:55 +00:00
|
|
|
"stylelint-config-recommended": "^5.0.0",
|
2021-05-24 21:45:22 +00:00
|
|
|
"ts-node": "^10.0.0",
|
2021-09-30 03:14:56 +00:00
|
|
|
"typescript": "^4.4.0-dev.20210528"
|
2019-07-02 21:55:54 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-09-27 19:15:18 +00:00
|
|
|
"ansi-regex": "^5.0.1",
|
2021-05-06 17:05:17 +00:00
|
|
|
"normalize-package-data": "^3.0.0",
|
2021-05-10 07:31:58 +00:00
|
|
|
"doctoc/underscore": "^1.13.1",
|
2021-05-11 19:14:50 +00:00
|
|
|
"doctoc/**/trim": "^1.0.0",
|
|
|
|
"postcss": "^8.2.1",
|
2021-05-24 21:21:00 +00:00
|
|
|
"browserslist": "^4.16.5",
|
2020-02-04 19:27:46 +00:00
|
|
|
"safe-buffer": "^5.1.1",
|
2021-08-04 17:41:37 +00:00
|
|
|
"vfile-message": "^2.0.2",
|
2021-11-03 21:09:31 +00:00
|
|
|
"tar": "^6.1.9",
|
|
|
|
"path-parse": "^1.0.7",
|
2022-01-13 18:07:19 +00:00
|
|
|
"vm2": "^3.9.4",
|
|
|
|
"follow-redirects": "^1.14.7"
|
2019-07-11 22:12:52 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-22 22:10:52 +00:00
|
|
|
"@coder/logger": "1.1.16",
|
2022-01-18 23:13:39 +00:00
|
|
|
"@node-rs/argon2": "^1.0.5",
|
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",
|
2021-03-18 21:30:10 +00:00
|
|
|
"js-yaml": "^4.0.0",
|
2020-04-27 12:41:52 +00:00
|
|
|
"limiter": "^1.1.5",
|
2019-07-11 22:12:52 +00:00
|
|
|
"pem": "^1.14.2",
|
2021-07-15 11:02:15 +00:00
|
|
|
"proxy-agent": "^5.0.0",
|
2022-01-14 21:48:52 +00:00
|
|
|
"qs": "6.10.3",
|
2021-11-05 19:04:10 +00:00
|
|
|
"rotating-file-stream": "^3.0.0",
|
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",
|
2021-10-29 19:32:49 +00:00
|
|
|
"split2": "^4.0.0",
|
2021-07-28 19:59:03 +00:00
|
|
|
"ws": "^8.0.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-09-23 17:38:10 +00:00
|
|
|
"node": ">= 14"
|
2021-01-21 23:39:04 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.ts$": "<rootDir>/test/node_modules/ts-jest"
|
|
|
|
},
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testPathIgnorePatterns": [
|
2021-03-16 21:35:43 +00:00
|
|
|
"/node_modules/",
|
2021-09-08 19:05:49 +00:00
|
|
|
"/vendor/",
|
2021-03-16 21:35:43 +00:00
|
|
|
"/lib/",
|
2021-03-16 21:42:51 +00:00
|
|
|
"/out/",
|
2021-03-09 23:35:25 +00:00
|
|
|
"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-04-22 22:03:15 +00:00
|
|
|
"text",
|
|
|
|
"clover"
|
2021-01-21 23:39:04 +00:00
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
2021-05-05 23:38:54 +00:00
|
|
|
"/out"
|
2021-01-25 17:34:51 +00:00
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
2021-07-21 18:15:17 +00:00
|
|
|
"lines": 60
|
2021-01-25 17:34:51 +00:00
|
|
|
}
|
2021-02-10 16:32:17 +00:00
|
|
|
},
|
2021-02-01 22:26:22 +00:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<rootDir>/release-packages",
|
|
|
|
"<rootDir>/release",
|
2021-02-02 20:58:51 +00:00
|
|
|
"<rootDir>/release-standalone",
|
|
|
|
"<rootDir>/release-npm-package",
|
|
|
|
"<rootDir>/release-gcp",
|
2021-12-17 19:58:46 +00:00
|
|
|
"<rootDir>/release-images",
|
|
|
|
"<rootDir>/vendor"
|
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-12-17 19:06:52 +00:00
|
|
|
},
|
|
|
|
"globalSetup": "<rootDir>/test/utils/globalUnitSetup.ts"
|
2020-05-15 01:37:58 +00:00
|
|
|
}
|
2019-01-08 00:46:19 +00:00
|
|
|
}
|