2019-01-08 01:46:19 +01:00
|
|
|
{
|
2020-02-04 20:27:46 +01:00
|
|
|
"name": "code-server",
|
2019-07-03 02:10:17 +02:00
|
|
|
"license": "MIT",
|
2021-09-15 21:28:41 +02:00
|
|
|
"version": "3.12.0",
|
2020-04-30 13:52:54 +02: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 01:46:19 +01:00
|
|
|
"scripts": {
|
2020-04-30 13:52:54 +02: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 22:39:17 +02:00
|
|
|
"release:standalone": "./ci/build/build-standalone-release.sh",
|
2020-05-11 23:08:22 +02:00
|
|
|
"release:github-draft": "./ci/build/release-github-draft.sh",
|
|
|
|
"release:github-assets": "./ci/build/release-github-assets.sh",
|
2021-03-23 00:19:01 +01:00
|
|
|
"release:prep": "./ci/build/release-prep.sh",
|
2021-03-10 00:35:25 +01:00
|
|
|
"test:e2e": "./ci/dev/test-e2e.sh",
|
2020-05-27 22:39:17 +02:00
|
|
|
"test:standalone-release": "./ci/build/test-standalone-release.sh",
|
2021-10-28 22:27:17 +02:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh --forceExit --detectOpenHandles",
|
2021-07-13 19:22:00 +02:00
|
|
|
"test:scripts": "./ci/dev/test-scripts.sh",
|
2020-05-08 06:34:20 +02:00
|
|
|
"package": "./ci/build/build-packages.sh",
|
2020-12-17 22:16:04 +01:00
|
|
|
"postinstall": "./ci/dev/postinstall.sh",
|
2021-04-06 01:32:01 +02:00
|
|
|
"_audit": "./ci/dev/audit.sh",
|
2020-04-30 13:52:54 +02:00
|
|
|
"fmt": "./ci/dev/fmt.sh",
|
|
|
|
"lint": "./ci/dev/lint.sh",
|
2021-03-15 21:47:22 +01:00
|
|
|
"test": "echo 'Run yarn test:unit or yarn test:e2e' && exit 1",
|
2020-04-30 13:52:54 +02:00
|
|
|
"ci": "./ci/dev/ci.sh",
|
2021-06-23 19:19:50 +02:00
|
|
|
"watch": "VSCODE_IPC_HOOK_CLI= NODE_OPTIONS='--max_old_space_size=32384 --trace-warnings' ts-node ./ci/dev/watch.ts",
|
2021-01-25 18:34:51 +01:00
|
|
|
"icons": "./ci/dev/gen_icons.sh",
|
2021-04-23 00:27:54 +02:00
|
|
|
"coverage": "codecov"
|
2019-01-08 01:46:19 +01:00
|
|
|
},
|
2020-04-30 13:52:54 +02:00
|
|
|
"main": "out/node/entry.js",
|
2019-01-08 01:46:19 +01:00
|
|
|
"devDependencies": {
|
2021-02-09 00:21:30 +01:00
|
|
|
"@schemastore/package": "^0.0.6",
|
2021-02-12 21:27:33 +01:00
|
|
|
"@types/compression": "^1.7.0",
|
2020-10-21 01:05:58 +02:00
|
|
|
"@types/cookie-parser": "^1.4.2",
|
2020-10-16 00:05:55 +02:00
|
|
|
"@types/express": "^4.17.8",
|
2020-03-24 00:02:31 +01:00
|
|
|
"@types/http-proxy": "^1.17.4",
|
2021-03-18 22:30:10 +01:00
|
|
|
"@types/js-yaml": "^4.0.0",
|
2021-06-01 19:19:03 +02:00
|
|
|
"@types/node": "^14.17.1",
|
2019-07-12 00:12:52 +02:00
|
|
|
"@types/pem": "^1.9.5",
|
2020-12-18 16:38:00 +01:00
|
|
|
"@types/proxy-from-env": "^1.0.1",
|
2019-07-12 00:12:52 +02:00
|
|
|
"@types/safe-compare": "^1.1.0",
|
2020-02-14 22:57:51 +01:00
|
|
|
"@types/semver": "^7.1.0",
|
2021-05-05 14:34:35 +02:00
|
|
|
"@types/split2": "^3.2.0",
|
2021-09-30 05:14:56 +02:00
|
|
|
"@types/trusted-types": "^2.0.2",
|
2021-09-30 00:06:02 +02:00
|
|
|
"@types/ws": "^8.0.0",
|
2020-11-13 22:28:21 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
|
|
"@typescript-eslint/parser": "^4.7.0",
|
2021-05-04 17:04:28 +02:00
|
|
|
"audit-ci": "^4.0.0",
|
2021-07-20 01:00:28 +02:00
|
|
|
"codecov": "^3.8.3",
|
2021-03-15 21:11:48 +01:00
|
|
|
"doctoc": "^2.0.0",
|
2020-08-26 20:27:30 +02:00
|
|
|
"eslint": "^7.7.0",
|
2021-03-18 22:31:23 +01:00
|
|
|
"eslint-config-prettier": "^8.1.0",
|
2021-07-07 20:10:53 +02:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
2020-02-04 20:27:46 +01:00
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2021-08-31 00:22:36 +02:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-03-15 23:14:26 +01:00
|
|
|
"prettier": "^2.2.1",
|
2021-06-28 18:36:55 +02:00
|
|
|
"prettier-plugin-sh": "^0.7.1",
|
2021-04-08 20:12:01 +02:00
|
|
|
"shellcheck": "^1.0.0",
|
2020-02-04 20:27:46 +01:00
|
|
|
"stylelint": "^13.0.0",
|
2021-04-27 18:02:55 +02:00
|
|
|
"stylelint-config-recommended": "^5.0.0",
|
2021-05-24 23:45:22 +02:00
|
|
|
"ts-node": "^10.0.0",
|
2021-09-30 05:14:56 +02:00
|
|
|
"typescript": "^4.4.0-dev.20210528"
|
2019-07-02 23:55:54 +02:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2021-09-27 21:15:18 +02:00
|
|
|
"ansi-regex": "^5.0.1",
|
2021-05-06 19:05:17 +02:00
|
|
|
"normalize-package-data": "^3.0.0",
|
2021-05-10 09:31:58 +02:00
|
|
|
"doctoc/underscore": "^1.13.1",
|
2021-05-11 21:14:50 +02:00
|
|
|
"doctoc/**/trim": "^1.0.0",
|
|
|
|
"postcss": "^8.2.1",
|
2021-05-24 23:21:00 +02:00
|
|
|
"browserslist": "^4.16.5",
|
2020-02-04 20:27:46 +01:00
|
|
|
"safe-buffer": "^5.1.1",
|
2021-08-04 19:41:37 +02:00
|
|
|
"vfile-message": "^2.0.2",
|
2021-09-01 23:00:59 +02:00
|
|
|
"argon2/@mapbox/node-pre-gyp/tar": "^6.1.9",
|
2021-08-10 20:08:49 +02:00
|
|
|
"path-parse": "^1.0.7"
|
2019-07-12 00:12:52 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-23 00:10:52 +02:00
|
|
|
"@coder/logger": "1.1.16",
|
2021-06-02 19:11:53 +02:00
|
|
|
"argon2": "^0.28.0",
|
2021-02-12 23:06:41 +01:00
|
|
|
"compression": "^1.7.4",
|
2020-10-21 01:05:58 +02:00
|
|
|
"cookie-parser": "^1.4.5",
|
2020-05-10 07:35:42 +02:00
|
|
|
"env-paths": "^2.2.0",
|
2020-11-05 18:36:27 +01:00
|
|
|
"express": "^5.0.0-alpha.8",
|
2020-03-24 00:02:31 +01:00
|
|
|
"http-proxy": "^1.18.0",
|
2019-07-12 00:12:52 +02:00
|
|
|
"httpolyglot": "^0.1.2",
|
2021-03-18 22:30:10 +01:00
|
|
|
"js-yaml": "^4.0.0",
|
2020-04-27 14:41:52 +02:00
|
|
|
"limiter": "^1.1.5",
|
2019-07-12 00:12:52 +02:00
|
|
|
"pem": "^1.14.2",
|
2021-07-15 13:02:15 +02:00
|
|
|
"proxy-agent": "^5.0.0",
|
2020-12-18 16:38:00 +01:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2021-07-27 23:55:34 +02:00
|
|
|
"qs": "6.10.1",
|
2020-07-23 19:51:08 +02:00
|
|
|
"rotating-file-stream": "^2.1.1",
|
2020-08-26 19:59:41 +02:00
|
|
|
"safe-buffer": "^5.1.1",
|
2019-08-10 01:56:37 +02:00
|
|
|
"safe-compare": "^1.1.4",
|
2020-02-14 22:57:51 +01:00
|
|
|
"semver": "^7.1.3",
|
2021-10-29 21:32:49 +02:00
|
|
|
"split2": "^4.0.0",
|
2021-07-28 21:59:03 +02:00
|
|
|
"ws": "^8.0.0",
|
2020-05-13 01:19:37 +02:00
|
|
|
"xdg-basedir": "^4.0.0",
|
2020-10-07 08:03:27 +02:00
|
|
|
"yarn": "^1.22.4"
|
2020-04-30 13:52:54 +02:00
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"code-server": "out/node/entry.js"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"vscode",
|
|
|
|
"development",
|
|
|
|
"ide",
|
|
|
|
"coder",
|
|
|
|
"vscode-remote",
|
|
|
|
"browser-ide"
|
2020-05-15 03:37:58 +02:00
|
|
|
],
|
|
|
|
"engines": {
|
2021-09-23 19:38:10 +02:00
|
|
|
"node": ">= 14"
|
2021-01-22 00:39:04 +01:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.ts$": "<rootDir>/test/node_modules/ts-jest"
|
|
|
|
},
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testPathIgnorePatterns": [
|
2021-03-16 22:35:43 +01:00
|
|
|
"/node_modules/",
|
2021-09-08 21:05:49 +02:00
|
|
|
"/vendor/",
|
2021-03-16 22:35:43 +01:00
|
|
|
"/lib/",
|
2021-03-16 22:42:51 +01:00
|
|
|
"/out/",
|
2021-03-10 00:35:25 +01:00
|
|
|
"test/e2e"
|
2021-01-22 00:39:04 +01:00
|
|
|
],
|
|
|
|
"collectCoverage": true,
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.ts"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "<rootDir>/coverage",
|
|
|
|
"coverageReporters": [
|
|
|
|
"json",
|
2021-01-25 18:34:51 +01:00
|
|
|
"json-summary",
|
2021-04-23 00:03:15 +02:00
|
|
|
"text",
|
|
|
|
"clover"
|
2021-01-22 00:39:04 +01:00
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
2021-05-06 01:38:54 +02:00
|
|
|
"/out"
|
2021-01-25 18:34:51 +01:00
|
|
|
],
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
2021-07-21 20:15:17 +02:00
|
|
|
"lines": 60
|
2021-01-25 18:34:51 +01:00
|
|
|
}
|
2021-02-10 17:32:17 +01:00
|
|
|
},
|
2021-02-01 23:26:22 +01:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<rootDir>/release-packages",
|
|
|
|
"<rootDir>/release",
|
2021-02-02 21:58:51 +01:00
|
|
|
"<rootDir>/release-standalone",
|
|
|
|
"<rootDir>/release-npm-package",
|
|
|
|
"<rootDir>/release-gcp",
|
|
|
|
"<rootDir>/release-images"
|
2021-02-11 23:02:13 +01:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2021-03-10 00:35:25 +01:00
|
|
|
"^.+\\.(css|less)$": "<rootDir>/test/utils/cssStub.ts"
|
2021-02-11 23:02:13 +01:00
|
|
|
}
|
2020-05-15 03:37:58 +02:00
|
|
|
}
|
2019-01-08 01:46:19 +01:00
|
|
|
}
|