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",
|
2021-08-06 18:28:35 +00:00
|
|
|
"version": "3.11.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-03-09 23:35:25 +00:00
|
|
|
"test:unit": "./ci/dev/test-unit.sh",
|
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",
|
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-06-23 17:19:50 +00:00
|
|
|
"watch": "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",
|
2020-10-20 23:05:58 +00:00
|
|
|
"@types/body-parser": "^1.19.0",
|
2021-06-23 17:19:50 +00:00
|
|
|
"@types/browserify": "^12.0.36",
|
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",
|
2020-08-26 18:27:30 +00:00
|
|
|
"@types/tar-fs": "^2.0.0",
|
|
|
|
"@types/tar-stream": "^2.1.0",
|
|
|
|
"@types/ws": "^7.2.6",
|
2020-11-13 21:28:21 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
|
|
"@typescript-eslint/parser": "^4.7.0",
|
2021-05-04 15:04:28 +00:00
|
|
|
"audit-ci": "^4.0.0",
|
2021-06-23 17:19:50 +00:00
|
|
|
"browserify": "^17.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-07-07 18:10:53 +00:00
|
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
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-06-28 16:36:55 +00:00
|
|
|
"prettier-plugin-sh": "^0.7.1",
|
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-07-06 21:40:06 +00:00
|
|
|
"typescript": "^4.1.3"
|
2019-07-02 21:55:54 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
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-09-01 21:00:59 +00:00
|
|
|
"argon2/@mapbox/node-pre-gyp/tar": "^6.1.9",
|
2021-08-10 18:08:49 +00:00
|
|
|
"path-parse": "^1.0.7"
|
2019-07-11 22:12:52 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-22 22:10:52 +00:00
|
|
|
"@coder/logger": "1.1.16",
|
2021-06-02 17:11:53 +00:00
|
|
|
"argon2": "^0.28.0",
|
2020-10-20 23:05:58 +00:00
|
|
|
"body-parser": "^1.19.0",
|
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",
|
2020-12-18 15:38:00 +00:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2021-07-27 21:55:34 +00:00
|
|
|
"qs": "6.10.1",
|
2020-07-23 17:51:08 +00:00
|
|
|
"rotating-file-stream": "^2.1.1",
|
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",
|
2020-09-08 23:39:17 +00:00
|
|
|
"split2": "^3.2.2",
|
2019-09-12 17:17:16 +00:00
|
|
|
"tar-fs": "^2.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-06-01 17:19:03 +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/",
|
|
|
|
"/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",
|
|
|
|
"<rootDir>/release-images"
|
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-02-11 22:02:13 +00:00
|
|
|
}
|
2020-05-15 01:37:58 +00:00
|
|
|
}
|
2019-01-08 00:46:19 +00:00
|
|
|
}
|