2016-01-09 19:43:18 +02:00
|
|
|
{
|
2023-11-01 06:44:26 -07:00
|
|
|
"name": "@xterm/xterm",
|
2017-02-06 13:56:52 -08:00
|
|
|
"description": "Full xterm terminal, in your browser",
|
2025-12-21 12:49:37 -08:00
|
|
|
"version": "6.0.0",
|
2019-05-26 11:19:42 -07:00
|
|
|
"main": "lib/xterm.js",
|
2024-07-05 11:48:42 -07:00
|
|
|
"module": "lib/xterm.mjs",
|
2019-06-12 04:45:11 -05:00
|
|
|
"style": "css/xterm.css",
|
2017-08-18 16:51:40 -07:00
|
|
|
"types": "typings/xterm.d.ts",
|
2018-01-05 08:20:40 -08:00
|
|
|
"repository": "https://github.com/xtermjs/xterm.js",
|
2016-06-05 08:22:22 +03:00
|
|
|
"license": "MIT",
|
2025-11-23 09:54:17 -08:00
|
|
|
"workspaces": [
|
|
|
|
|
"addons/*"
|
|
|
|
|
],
|
2022-01-30 05:43:20 -08:00
|
|
|
"keywords": [
|
|
|
|
|
"cli",
|
|
|
|
|
"command-line",
|
|
|
|
|
"console",
|
|
|
|
|
"pty",
|
|
|
|
|
"shell",
|
|
|
|
|
"ssh",
|
|
|
|
|
"styles",
|
|
|
|
|
"terminal-emulator",
|
|
|
|
|
"terminal",
|
|
|
|
|
"tty",
|
|
|
|
|
"vt100",
|
|
|
|
|
"webgl",
|
|
|
|
|
"xterm"
|
|
|
|
|
],
|
2019-05-31 21:47:37 -07:00
|
|
|
"scripts": {
|
2025-12-27 04:57:55 -08:00
|
|
|
"presetup": "npm run build",
|
|
|
|
|
"setup": "npm run esbuild",
|
|
|
|
|
"postsetup": "npm run esbuild-demo-server",
|
2019-05-31 21:47:37 -07:00
|
|
|
"start": "node demo/start",
|
2025-12-27 04:57:55 -08:00
|
|
|
"dev": "concurrently -k -p [{name}] -n tsc,esbuild,esbuild-demo-client,esbuild-demo-server,server -c blue,yellow,cyan,green,magenta \"npm:tsc-watch\" \"npm:esbuild-watch\" \"npm:esbuild-demo-client-watch\" \"npm:esbuild-demo-server-watch\" \"npm:start\"",
|
2024-07-05 08:46:15 -07:00
|
|
|
"build": "npm run tsc",
|
|
|
|
|
"watch": "npm run tsc-watch",
|
2026-02-13 05:29:22 -08:00
|
|
|
"tsc": "tsgo -b ./tsconfig.all.json",
|
|
|
|
|
"tsc-watch": "tsgo -b -w ./tsconfig.all.json --preserveWatchOutput",
|
2024-07-05 08:46:15 -07:00
|
|
|
"esbuild": "node bin/esbuild_all.mjs",
|
|
|
|
|
"esbuild-watch": "node bin/esbuild_all.mjs --watch",
|
|
|
|
|
"esbuild-package": "node bin/esbuild_all.mjs --prod",
|
|
|
|
|
"esbuild-package-watch": "node bin/esbuild_all.mjs --prod --watch",
|
2024-07-07 08:51:38 -07:00
|
|
|
"esbuild-package-headless-only": "node bin/esbuild.mjs --prod --headless",
|
2025-12-27 04:57:55 -08:00
|
|
|
"esbuild-demo-client": "node bin/esbuild.mjs --demo-client",
|
|
|
|
|
"esbuild-demo-client-watch": "node bin/esbuild.mjs --demo-client --watch",
|
|
|
|
|
"esbuild-demo-server": "node bin/esbuild.mjs --demo-server",
|
|
|
|
|
"esbuild-demo-server-watch": "node bin/esbuild.mjs --demo-server --watch",
|
2019-05-31 21:47:37 -07:00
|
|
|
"test": "npm run test-unit",
|
|
|
|
|
"posttest": "npm run lint",
|
2026-01-31 20:57:51 -08:00
|
|
|
"lint": "eslint --max-warnings 0 src/ addons/ demo/ test/",
|
2026-01-08 17:32:15 -08:00
|
|
|
"lint-changes": "node ./bin/lint_changes.js",
|
|
|
|
|
"lint-changes-fix": "node ./bin/lint_changes.js --fix",
|
2026-01-31 20:57:51 -08:00
|
|
|
"lint-fix": "eslint --fix src/ addons/ demo/ test/",
|
2025-12-24 11:19:06 -08:00
|
|
|
"lint-api": "eslint --config eslint.config.typings.mjs --max-warnings 0 typings/",
|
2024-07-07 09:35:30 -07:00
|
|
|
"test-unit": "node ./bin/test_unit.js",
|
2026-01-31 15:17:10 -08:00
|
|
|
"test-unit-slow-tests": "npm run test-unit | grep \"ms)\"",
|
2024-07-07 09:35:30 -07:00
|
|
|
"test-unit-coverage": "node ./bin/test_unit.js --coverage",
|
2024-07-05 08:46:15 -07:00
|
|
|
"test-unit-dev": "cross-env NODE_PATH='./out' mocha",
|
2024-07-07 09:35:30 -07:00
|
|
|
"test-integration": "node ./bin/test_integration.js --workers=75%",
|
2026-02-01 08:35:49 -08:00
|
|
|
"test-integration-chromium": "node ./bin/test_integration.js --workers=75% \"--project=Chromium\"",
|
2024-07-07 09:35:30 -07:00
|
|
|
"test-integration-firefox": "node ./bin/test_integration.js --workers=75% \"--project=FirefoxStable\"",
|
|
|
|
|
"test-integration-webkit": "node ./bin/test_integration.js --workers=75% \"--project=WebKit\"",
|
|
|
|
|
"test-integration-debug": "node ./bin/test_integration.js --workers=1 --headed --timeout=30000",
|
2019-06-19 00:07:09 +02:00
|
|
|
"benchmark": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json",
|
2024-07-14 09:00:29 -07:00
|
|
|
"benchmark-baseline": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json --baseline out-test/benchmark/*benchmark.js",
|
|
|
|
|
"benchmark-eval": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json --eval out-test/benchmark/*benchmark.js",
|
2019-08-18 17:36:06 +02:00
|
|
|
"clean": "rm -rf lib out addons/*/lib addons/*/out",
|
2024-07-05 08:46:15 -07:00
|
|
|
"vtfeatures": "node bin/extract_vtfeatures.js src/**/*.ts src/*.ts",
|
|
|
|
|
"prepackage": "npm run build",
|
|
|
|
|
"package": "webpack",
|
2024-07-09 10:52:09 -07:00
|
|
|
"postpackage": "npm run esbuild-package",
|
2024-07-07 08:51:38 -07:00
|
|
|
"prepackage-headless": "npm run esbuild-package-headless-only",
|
2024-07-05 08:46:15 -07:00
|
|
|
"package-headless": "webpack --config ./webpack.config.headless.js",
|
|
|
|
|
"postpackage-headless": "node ./bin/package_headless.js",
|
2026-02-13 08:10:16 -08:00
|
|
|
"prepublishOnly": "npm run package",
|
2026-02-13 08:25:59 -08:00
|
|
|
"agent:setup-repo": "node bin/agent/setup-repo.mjs"
|
2019-05-31 21:47:37 -07:00
|
|
|
},
|
2016-06-05 08:22:22 +03:00
|
|
|
"devDependencies": {
|
2023-09-08 07:28:41 -07:00
|
|
|
"@lunapaint/png-codec": "^0.2.0",
|
2025-12-30 06:03:17 -08:00
|
|
|
"@playwright/test": "^1.57.0",
|
2025-12-24 10:44:46 -08:00
|
|
|
"@stylistic/eslint-plugin": "^4.4.1",
|
2021-11-01 18:20:17 +01:00
|
|
|
"@types/chai": "^4.2.22",
|
|
|
|
|
"@types/debug": "^4.1.7",
|
2019-11-09 17:29:32 -08:00
|
|
|
"@types/deep-equal": "^1.0.1",
|
2023-08-23 16:20:55 -07:00
|
|
|
"@types/express": "4",
|
2023-08-23 16:25:15 -07:00
|
|
|
"@types/express-ws": "^3.0.1",
|
2025-12-24 11:26:19 -08:00
|
|
|
"@types/jsdom": "^27.0.0",
|
2021-11-01 18:20:17 +01:00
|
|
|
"@types/mocha": "^9.0.0",
|
2025-12-24 11:39:10 -08:00
|
|
|
"@types/node": "^22.19.3",
|
2024-07-09 10:52:09 -07:00
|
|
|
"@types/trusted-types": "^1.0.6",
|
2021-11-01 18:20:17 +01:00
|
|
|
"@types/utf8": "^3.0.0",
|
2021-05-10 22:35:05 +02:00
|
|
|
"@types/webpack": "^5.28.0",
|
2021-11-01 18:20:17 +01:00
|
|
|
"@types/ws": "^8.2.0",
|
2025-12-24 10:44:46 -08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^8.50.1",
|
|
|
|
|
"@typescript-eslint/parser": "^8.50.1",
|
2026-02-13 05:29:22 -08:00
|
|
|
"@typescript/native-preview": "^7.0.0-dev.20260213.1",
|
2021-05-10 22:35:05 +02:00
|
|
|
"chai": "^4.3.4",
|
2025-12-30 06:03:17 -08:00
|
|
|
"concurrently": "^9.1.2",
|
2021-08-31 15:40:35 +02:00
|
|
|
"cross-env": "^7.0.3",
|
2021-05-10 22:35:05 +02:00
|
|
|
"deep-equal": "^2.0.5",
|
2025-04-22 03:03:44 -07:00
|
|
|
"esbuild": "~0.25.2",
|
2025-12-24 10:44:46 -08:00
|
|
|
"eslint": "^9.39.2",
|
|
|
|
|
"eslint-plugin-jsdoc": "^50.8.0",
|
2024-07-05 07:53:33 -07:00
|
|
|
"express": "^4.19.2",
|
2021-11-01 18:20:17 +01:00
|
|
|
"express-ws": "^5.0.2",
|
2025-12-24 11:26:19 -08:00
|
|
|
"jsdom": "^27.3.0",
|
2022-12-02 09:35:36 -08:00
|
|
|
"mocha": "^10.1.0",
|
2021-05-10 22:35:05 +02:00
|
|
|
"mustache": "^4.2.0",
|
2026-01-28 14:04:46 -08:00
|
|
|
"node-pty": "^1.2.0-beta.9",
|
2025-12-24 10:44:46 -08:00
|
|
|
"nyc": "^17.1.0",
|
2021-11-01 18:20:17 +01:00
|
|
|
"source-map-loader": "^3.0.0",
|
|
|
|
|
"source-map-support": "^0.5.20",
|
2022-07-24 03:57:22 -07:00
|
|
|
"ts-loader": "^9.3.1",
|
2025-12-27 03:06:14 -08:00
|
|
|
"typescript": "^5.9.3",
|
2025-12-24 10:44:46 -08:00
|
|
|
"typescript-eslint": "^8.50.1",
|
2019-05-13 20:34:14 -07:00
|
|
|
"utf8": "^3.0.0",
|
2021-11-01 18:20:17 +01:00
|
|
|
"webpack": "^5.61.0",
|
|
|
|
|
"webpack-cli": "^4.9.1",
|
|
|
|
|
"ws": "^8.2.3",
|
2022-05-01 17:55:04 +02:00
|
|
|
"xterm-benchmark": "^0.3.1"
|
2020-08-28 20:58:06 -07:00
|
|
|
}
|
2019-05-09 09:37:07 -07:00
|
|
|
}
|