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