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-09-15 22:28:41 +03:00
|
|
|
"version": "3.12.0",
|
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-10-28 23:27:17 +03:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh --forceExit --detectOpenHandles",
|
2021-07-13 20:22:00 +03:00
|
|
|
"test:scripts": "./ci/dev/test-scripts.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-04-06 02:32:01 +03:00
|
|
|
"_audit": "./ci/dev/audit.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",
|
2021-11-10 08:28:31 +03: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 20:34:51 +03:00
|
|
|
"icons": "./ci/dev/gen_icons.sh",
|
2021-04-23 01:27:54 +03:00
|
|
|
"coverage": "codecov"
|
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",
|
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",
|
2021-06-01 20:19:03 +03:00
|
|
|
"@types/node": "^14.17.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",
|
2021-05-05 15:34:35 +03:00
|
|
|
"@types/split2": "^3.2.0",
|
2021-09-30 06:14:56 +03:00
|
|
|
"@types/trusted-types": "^2.0.2",
|
2021-09-30 01:06:02 +03:00
|
|
|
"@types/ws": "^8.0.0",
|
2021-10-30 02:34:24 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
|
|
"@typescript-eslint/parser": "^5.0.0",
|
2021-11-02 01:15:34 +03:00
|
|
|
"audit-ci": "^5.0.0",
|
2021-07-20 02:00:28 +03:00
|
|
|
"codecov": "^3.8.3",
|
2021-11-20 00:03:40 +03:00
|
|
|
"del": "^6.0.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-07-07 21:10:53 +03:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
2020-02-04 22:27:46 +03:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2021-08-31 01:22:36 +03:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-03-16 01:14:26 +03:00
|
|
|
"prettier": "^2.2.1",
|
2021-11-29 21:31:35 +03:00
|
|
|
"prettier-plugin-sh": "^0.8.0",
|
2021-04-08 21:12:01 +03:00
|
|
|
"shellcheck": "^1.0.0",
|
2020-02-04 22:27:46 +03:00
|
|
|
"stylelint": "^13.0.0",
|
2021-04-27 19:02:55 +03:00
|
|
|
"stylelint-config-recommended": "^5.0.0",
|
2021-05-25 00:45:22 +03:00
|
|
|
"ts-node": "^10.0.0",
|
2021-09-30 06:14:56 +03:00
|
|
|
"typescript": "^4.4.0-dev.20210528"
|
2019-07-03 00:55:54 +03:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-09-27 22:15:18 +03:00
|
|
|
"ansi-regex": "^5.0.1",
|
2021-05-06 20:05:17 +03:00
|
|
|
"normalize-package-data": "^3.0.0",
|
2021-05-10 10:31:58 +03:00
|
|
|
"doctoc/underscore": "^1.13.1",
|
2021-05-11 22:14:50 +03:00
|
|
|
"doctoc/**/trim": "^1.0.0",
|
|
|
|
"postcss": "^8.2.1",
|
2021-05-25 00:21:00 +03:00
|
|
|
"browserslist": "^4.16.5",
|
2020-02-04 22:27:46 +03:00
|
|
|
"safe-buffer": "^5.1.1",
|
2021-08-04 20:41:37 +03:00
|
|
|
"vfile-message": "^2.0.2",
|
2021-11-04 00:09:31 +03:00
|
|
|
"tar": "^6.1.9",
|
|
|
|
"path-parse": "^1.0.7",
|
|
|
|
"vm2": "^3.9.4"
|
2019-07-12 01:12:52 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-23 01:10:52 +03:00
|
|
|
"@coder/logger": "1.1.16",
|
2021-06-02 20:11:53 +03:00
|
|
|
"argon2": "^0.28.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",
|
2019-07-12 01:12:52 +03:00
|
|
|
"pem": "^1.14.2",
|
2021-07-15 14:02:15 +03:00
|
|
|
"proxy-agent": "^5.0.0",
|
2020-12-18 18:38:00 +03:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2021-12-06 20:33:13 +03:00
|
|
|
"qs": "6.10.2",
|
2021-11-05 22:04:10 +03:00
|
|
|
"rotating-file-stream": "^3.0.0",
|
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",
|
2021-10-29 22:32:49 +03:00
|
|
|
"split2": "^4.0.0",
|
2021-07-28 22:59:03 +03:00
|
|
|
"ws": "^8.0.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-09-23 20:38:10 +03:00
|
|
|
"node": ">= 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/",
|
2021-09-08 22:05:49 +03:00
|
|
|
"/vendor/",
|
2021-03-17 00:35:43 +03:00
|
|
|
"/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-04-23 01:03:15 +03:00
|
|
|
"text",
|
|
|
|
"clover"
|
2021-01-22 02:39:04 +03:00
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
2021-05-06 02:38:54 +03:00
|
|
|
"/out"
|
2021-01-25 20:34:51 +03:00
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
2021-07-21 21:15:17 +03:00
|
|
|
"lines": 60
|
2021-01-25 20:34:51 +03:00
|
|
|
}
|
2021-02-10 19:32:17 +03:00
|
|
|
},
|
2021-02-02 01:26:22 +03:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<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
|
|
|
}
|