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