{ "name": "@xterm/xterm", "description": "Full xterm terminal, in your browser", "version": "6.0.0", "main": "lib/xterm.js", "module": "lib/xterm.mjs", "style": "css/xterm.css", "types": "typings/xterm.d.ts", "repository": "https://github.com/xtermjs/xterm.js", "license": "MIT", "workspaces": [ "addons/*" ], "keywords": [ "cli", "command-line", "console", "pty", "shell", "ssh", "styles", "terminal-emulator", "terminal", "tty", "vt100", "webgl", "xterm" ], "scripts": { "presetup": "npm run build", "setup": "npm run esbuild", "setup-full": "node bin/setup-full.mjs", "postsetup": "npm run esbuild-demo-server", "start": "node demo/start", "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\"", "build": "npm run tsc", "watch": "npm run tsc-watch", "tsc": "tsgo -b ./tsconfig.all.json", "tsc-watch": "tsgo -b -w ./tsconfig.all.json --preserveWatchOutput", "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", "esbuild-package-headless-only": "node bin/esbuild.mjs --prod --headless", "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", "test": "npm run test-unit", "posttest": "npm run lint", "lint": "oxlint --type-aware --max-warnings 0 src addons demo test && eslint --config eslint.config.naming.mjs --max-warnings 0 src addons demo test", "lint-changes": "node ./bin/lint_changes.js", "lint-changes-fix": "node ./bin/lint_changes.js --fix", "lint-fix": "oxlint --type-aware --fix --max-warnings 0 src addons demo test", "lint-api": "oxlint --max-warnings 0 -c .oxlintrc.typings.json typings && eslint --config eslint.config.naming.mjs --max-warnings 0 typings", "test-unit": "node ./bin/test_unit.js", "test-unit-slow-tests": "npm run test-unit | grep \"ms)\"", "test-unit-coverage": "node ./bin/test_unit.js --coverage", "test-integration": "node ./bin/test_integration.js --workers=75%", "test-integration-chromium": "node ./bin/test_integration.js --workers=75% \"--project=Chromium\"", "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", "benchmark": "xterm-benchmark -r 5 -c test/benchmark/benchmark.json", "benchmark-baseline": "xterm-benchmark -r 5 -c test/benchmark/benchmark.json --baseline out-test/benchmark/*benchmark.js", "benchmark-eval": "xterm-benchmark -r 5 -c test/benchmark/benchmark.json --eval out-test/benchmark/*benchmark.js", "clean": "rm -rf lib out addons/*/lib addons/*/out", "vtfeatures": "node bin/extract_vtfeatures.js src/*/*.ts src/*/*/*.ts src/*.ts addons/**/src/*.ts", "prepackage": "npm run build", "package": "webpack", "postpackage": "npm run esbuild-package", "prepackage-headless": "npm run esbuild-package-headless-only", "package-headless": "webpack --config ./webpack.config.headless.js", "postpackage-headless": "node ./bin/package_headless.js", "prepublishOnly": "npm run package" }, "devDependencies": { "@eslint/js": "^10.0.1", "@lunapaint/png-codec": "^0.2.0", "@playwright/test": "^1.59.1", "@stylistic/eslint-plugin": "^5.10.0", "@types/chai": "^5.2.3", "@types/express": "^5.0.6", "@types/express-ws": "^3.0.1", "@types/jsdom": "^28.0.1", "@types/mocha": "^10.0.10", "@types/node": "^22.19.3", "@types/webpack": "^5.28.0", "@types/ws": "^8.2.0", "@typescript-eslint/eslint-plugin": "^8.59.2", "@typescript-eslint/parser": "^8.59.2", "@typescript/native-preview": "^7.0.0-dev.20260509.2", "chai": "^6.2.2", "concurrently": "^9.1.2", "esbuild": "^0.28.0", "eslint": "^10.3.0", "eslint-plugin-jsdoc": "^62.9.0", "eslint-plugin-oxlint": "^1.67.0", "express": "^5.2.1", "express-ws": "^5.0.2", "jsdom": "^29.1.1", "mocha": "^11.7.5", "mustache": "^4.2.0", "node-pty": "^1.2.0-beta.9", "nyc": "^18.0.0", "oxlint": "^1.67.0", "oxlint-plugin-eslint": "^1.67.0", "oxlint-tsgolint": "^0.23.0", "source-map-loader": "^5.0.0", "source-map-support": "^0.5.20", "ts-loader": "^9.5.7", "typescript": "^5.9.3", "typescript-eslint": "^8.59.2", "webpack": "^5.106.2", "webpack-cli": "^7.0.2", "ws": "^8.20.0", "xterm-benchmark": "^0.3.2" } }