mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
* npm: add .npmrc with save-exact=true * split panes: create initial implementation This allows users to split their Hyperterm terms into multiple nested splits, both vertical and horizontal. Fixes #56 * split panes: suport closing tabs and individual panes * split panes: ensure new splits are placed at the correct index New split panes should be placed after the currently active pane, not at the end like they were previously. * split panes: add explicit dependency to uuid * split panes: implement split pane cycling This adds menu buttons for moving back and forward between open split panes in the currect terminal tab. Doesn't add a hotkey yet, needs some bikeshedding. * split panes: move activeSessionUid to its own object It made little sense to have so many objects with `activeSessionUid` set to `null` when it only mattered on the top level. Now it's an object mapping term-group `uid` to `sessionUid` instead. * split panes: make sure closing the last split pane exits the app * split panes: fix a crash after closing specific panes Sometimes the terminal would crash when a specific split pane was closed, because the `activeSessions` mapping wasn't updated correctly. * split panes: fix a bug that caused initial session sizing to be wrong * fix all our focus / blur issues in one fell swoop :O (famous last words) * get rid of react warning * hterm: make sure not to lose focus when VT listens on clicks * term: restore onactive callback * add missing `return` to override (just in case) * split pane: new split pane implementation * goodbye react-split-pane * added term group resizing action and reducer * terms: supply border color so that we can use it for splits * term-group: add resizing hook * term-groups: add resizing constant * remove split pane css side-effect * split panes: pass existing hterm instances to Term * split panes: add keybindings for split pane cycling * split panes: remove unused action * split panes: remove unused styling * split-pane: remove `console.log` * split-pane: remove `console.log` * split panes: rebalance sizes on insert/removal * split panes: pass existing hterm instances to Term * split panes: add keybindings for split pane cycling * split panes: remove unused action * split panes: remove unused styling * split panes: rebalance sizes on insert/removal * split panes: set a minimum size for resizing * split-pane: fix vertical splits * css :| * package: bump electron * split panes: attach onFocus listener to webviews * 1.4.1 and 1.4.2 are broken. they have the following regression: - open google.com on the main window - open a new tab - come back to previous tab. webview is gone :| * split panes: handle PTY exits * split panes: add linux friendly keybindings
117 lines
2.8 KiB
JSON
117 lines
2.8 KiB
JSON
{
|
|
"name": "hyperterm",
|
|
"version": "1.0.0",
|
|
"description": "Web app that runs in the renderer process",
|
|
"repository": "zeit/hyperterm",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Zeit, Inc.",
|
|
"email": "team@zeit.co"
|
|
},
|
|
"greenkeeper": {
|
|
"emails": false
|
|
},
|
|
"dependencies": {
|
|
"aphrodite-simple": "0.4.1",
|
|
"color": "0.11.3",
|
|
"hterm-umdjs": "1.1.3",
|
|
"json-loader": "0.5.4",
|
|
"mousetrap": "1.6.0",
|
|
"ms": "0.7.1",
|
|
"object-values": "1.0.0",
|
|
"php-escape-shell": "1.0.0",
|
|
"react": "15.3.2",
|
|
"react-addons-pure-render-mixin": "15.3.2",
|
|
"react-deep-force-update": "2.0.1",
|
|
"react-dom": "15.3.2",
|
|
"react-redux": "4.4.5",
|
|
"redux": "3.6.0",
|
|
"redux-thunk": "2.1.0",
|
|
"reselect": "2.5.4",
|
|
"uuid": "2.0.2",
|
|
"seamless-immutable": "6.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^0.16.0",
|
|
"babel-cli": "^6.11.4",
|
|
"babel-core": "^6.11.4",
|
|
"babel-loader": "^6.2.4",
|
|
"babel-preset-react": "^6.11.1",
|
|
"concurrently": "^3.0.0",
|
|
"copy-webpack-plugin": "^3.0.1",
|
|
"electron": "1.4.0",
|
|
"electron-builder": "^7.0.1",
|
|
"electron-devtools-installer": "^2.0.0",
|
|
"eslint-config-xo-react": "^0.10.0",
|
|
"eslint-plugin-react": "^6.3.0",
|
|
"husky": "^0.11.6",
|
|
"redux-logger": "^2.6.1",
|
|
"spectron": "^3.4.0",
|
|
"webpack": "^2.1.0-beta.15",
|
|
"xo": "^0.16.0"
|
|
},
|
|
"xo": {
|
|
"extends": "xo-react",
|
|
"esnext": true,
|
|
"space": true,
|
|
"env": [
|
|
"browser",
|
|
"node",
|
|
"mocha"
|
|
],
|
|
"rules": {
|
|
"react/prop-types": 0,
|
|
"babel/new-cap": 0,
|
|
"quote-props": 0,
|
|
"import/no-extraneous-dependencies": 0,
|
|
"no-warning-comments": 0,
|
|
"complexity": 0,
|
|
"react/no-danger": 0,
|
|
"react/no-string-refs": 0,
|
|
"react/jsx-key": 0,
|
|
"no-nested-ternary": 0,
|
|
"react/jsx-no-bind": 0
|
|
},
|
|
"ignore": [
|
|
"dist",
|
|
"build",
|
|
"app/dist",
|
|
"app/static",
|
|
"assets"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react"
|
|
]
|
|
},
|
|
"build": {
|
|
"appId": "co.zeit.hyperterm",
|
|
"asar": false,
|
|
"extend-info": "build/Info.plist",
|
|
"linux": {
|
|
"target": [
|
|
"deb",
|
|
"AppImage"
|
|
]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools"
|
|
},
|
|
"publish": {
|
|
"vPrefixedTagName": false
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "concurrently --kill-others --raw \"npm run dev\" \"electron app\"",
|
|
"dev": "webpack -w",
|
|
"build": "NODE_ENV=production webpack",
|
|
"test": "npm run pack && xo && ava",
|
|
"prepublish": "npm test",
|
|
"prepush": "npm test",
|
|
"postinstall": "install-app-deps",
|
|
"pack": "npm run build && build --dir && babel --no-comments --compact --minified --out-file app/dist/bundle.js app/dist/bundle.js",
|
|
"dist": "npm run build && build",
|
|
"release": "npm run build && build --publish=onTagOrDraft"
|
|
}
|
|
}
|