代码拉取完成,页面将自动刷新
{
"name": "@rasir/xterm-terminal",
"version": "1.0.3",
"description": "基于xterm的web终端React组件",
"author": "rasir",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"license": "ISC",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"es"
],
"sideEffects": [
"dist/*",
"es/**/style/*",
"lib/**/style/*",
"*.less"
],
"repository": {
"type": "git",
"url": "https://gitee.com/rasir/xterm-terminal.git"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"babel-plugin-import": "^1.13.3",
"babel-polyfill": "^6.26.0",
"concurrently": "^6.2.0",
"copyfiles": "^2.4.1",
"less": "^4.1.3",
"rimraf": "^3.0.2",
"typescript": "^4.2.3",
"vite": "^2.1.5",
"vite-plugin-style-import": "^0.10.1"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"dependencies": {
"ahooks": "^3.7.0",
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0"
},
"scripts": {
"start": "vite examples",
"types:es": "tsc --outDir es --emitDeclarationOnly --declaration",
"types:lib": "tsc --outDir lib --emitDeclarationOnly --declaration",
"build": "concurrently \"npm run build:es\" \"npm run build:lib\"",
"build:es": "rimraf es && npm run types:es && babel src --extensions \".tsx,.js,.ts,.jsx\" --out-dir es --config-file ./babel.es.js && copyfiles -u 1 ./src/**/style/*.less es",
"build:lib": "rimraf lib && npm run types:lib && babel src --extensions \".tsx,.js,.ts,.jsx\" --out-dir lib --config-file ./babel.lib.js && copyfiles -u 1 ./src/**/style/*.less lib",
"clean": "rimraf lib es"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。