2016-06-30 22:01:04 -08:00
|
|
|
{
|
2019-10-06 10:51:56 -08:00
|
|
|
"name": "hyper",
|
2019-10-10 12:10:02 -08:00
|
|
|
"version": "3.1.0-canary.1",
|
2016-10-06 07:28:43 -08:00
|
|
|
"repository": "zeit/hyper",
|
2016-10-17 00:29:12 -08:00
|
|
|
"scripts": {
|
2019-10-02 16:56:50 -08:00
|
|
|
"start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'",
|
2019-09-30 21:50:22 -08:00
|
|
|
"app": "electron target",
|
2019-10-03 01:54:25 -08:00
|
|
|
"dev": "concurrently -n \"Webpack,TypeScript Compiler\" -c \"cyan.bold,blue.bold\" \"webpack -w\" \"tsc --pretty --watch --preserveWatchOutput\" -k",
|
2019-09-30 23:06:10 -08:00
|
|
|
"build": "cross-env NODE_ENV=production webpack && tsc",
|
2019-10-02 16:56:50 -08:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
2018-02-24 12:59:51 -09:00
|
|
|
"test": "yarn run lint && yarn run test:unit",
|
2019-10-24 04:13:40 -08:00
|
|
|
"test:unit": "ava",
|
2017-08-15 06:08:45 -08:00
|
|
|
"test:unit:watch": "yarn run test:unit -- --watch",
|
2019-10-08 13:52:53 -08:00
|
|
|
"postinstall": "webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cpy --cwd=target --parents 'node_modules/**/*' '../app/'",
|
2019-10-01 00:12:06 -08:00
|
|
|
"rebuild-node-pty": "electron-rebuild -f -w target/node_modules/node-pty -m target",
|
2019-10-10 11:20:26 -08:00
|
|
|
"dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file target/renderer/bundle.js --no-comments --minified target/renderer/bundle.js && electron-builder",
|
2019-10-02 16:56:50 -08:00
|
|
|
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer"
|
2016-06-30 22:01:04 -08:00
|
|
|
},
|
2019-10-24 04:13:40 -08:00
|
|
|
"ava": {
|
|
|
|
|
"files": [
|
|
|
|
|
"test/unit/*"
|
|
|
|
|
],
|
|
|
|
|
"helpers": [
|
|
|
|
|
"**/testUtils/**/*"
|
|
|
|
|
]
|
|
|
|
|
},
|
2017-06-11 02:42:39 -08:00
|
|
|
"eslintConfig": {
|
2019-10-02 16:56:50 -08:00
|
|
|
"plugins": [
|
|
|
|
|
"react",
|
|
|
|
|
"prettier",
|
|
|
|
|
"@typescript-eslint"
|
|
|
|
|
],
|
|
|
|
|
"extends": [
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:react/recommended",
|
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
|
],
|
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2017-06-11 02:42:39 -08:00
|
|
|
"parserOptions": {
|
|
|
|
|
"ecmaVersion": 8,
|
|
|
|
|
"sourceType": "module",
|
|
|
|
|
"ecmaFeatures": {
|
|
|
|
|
"jsx": true,
|
|
|
|
|
"impliedStrict": true,
|
|
|
|
|
"experimentalObjectRestSpread": true
|
|
|
|
|
},
|
|
|
|
|
"allowImportExportEverywhere": true
|
|
|
|
|
},
|
|
|
|
|
"env": {
|
|
|
|
|
"es6": true,
|
|
|
|
|
"browser": true,
|
|
|
|
|
"node": true
|
|
|
|
|
},
|
2019-10-02 16:56:50 -08:00
|
|
|
"settings": {
|
|
|
|
|
"react": {
|
|
|
|
|
"version": "detect"
|
|
|
|
|
}
|
|
|
|
|
},
|
2016-06-30 22:01:04 -08:00
|
|
|
"rules": {
|
2019-10-02 16:56:50 -08:00
|
|
|
"func-names": [
|
|
|
|
|
"error",
|
|
|
|
|
"as-needed"
|
|
|
|
|
],
|
2017-06-11 02:42:39 -08:00
|
|
|
"no-shadow": "error",
|
|
|
|
|
"no-extra-semi": 0,
|
2016-10-12 17:35:44 -08:00
|
|
|
"react/prop-types": 0,
|
2017-06-11 02:42:39 -08:00
|
|
|
"react/react-in-jsx-scope": 0,
|
|
|
|
|
"react/no-unescaped-entities": 0,
|
|
|
|
|
"react/jsx-no-target-blank": 0,
|
2017-09-10 05:35:10 -08:00
|
|
|
"react/no-string-refs": 0,
|
|
|
|
|
"prettier/prettier": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
"printWidth": 120,
|
|
|
|
|
"tabWidth": 2,
|
|
|
|
|
"singleQuote": true,
|
|
|
|
|
"trailingComma": "none",
|
|
|
|
|
"bracketSpacing": false,
|
|
|
|
|
"semi": true,
|
|
|
|
|
"useTabs": false,
|
|
|
|
|
"jsxBracketSameLine": false
|
|
|
|
|
}
|
|
|
|
|
]
|
2017-10-18 10:17:55 -08:00
|
|
|
},
|
2017-11-02 18:51:18 -08:00
|
|
|
"overrides": [
|
|
|
|
|
{
|
2019-10-02 16:56:50 -08:00
|
|
|
"files": [
|
|
|
|
|
"app/config/config-default.js",
|
|
|
|
|
".hyper.js"
|
|
|
|
|
],
|
2017-11-02 18:51:18 -08:00
|
|
|
"rules": {
|
|
|
|
|
"prettier/prettier": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
"printWidth": 120,
|
|
|
|
|
"tabWidth": 2,
|
|
|
|
|
"singleQuote": true,
|
|
|
|
|
"trailingComma": "es5",
|
|
|
|
|
"bracketSpacing": false,
|
|
|
|
|
"semi": true,
|
|
|
|
|
"useTabs": false,
|
2019-10-02 16:56:50 -08:00
|
|
|
"parser": "babel",
|
2017-11-02 18:51:18 -08:00
|
|
|
"jsxBracketSameLine": false
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2019-10-02 16:56:50 -08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"files": [
|
|
|
|
|
"**.ts",
|
|
|
|
|
"**.tsx"
|
|
|
|
|
],
|
|
|
|
|
"extends": [
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"prettier/@typescript-eslint"
|
2019-10-11 11:48:23 -08:00
|
|
|
],
|
|
|
|
|
"rules": {
|
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
|
|
|
}
|
2017-10-18 10:17:55 -08:00
|
|
|
}
|
2017-11-02 18:51:18 -08:00
|
|
|
]
|
2016-06-30 22:01:04 -08:00
|
|
|
},
|
2016-07-24 09:59:21 -08:00
|
|
|
"babel": {
|
2019-10-02 16:56:50 -08:00
|
|
|
"presets": [
|
|
|
|
|
"@babel/react",
|
|
|
|
|
"@babel/typescript"
|
|
|
|
|
],
|
2018-03-17 04:51:36 -08:00
|
|
|
"plugins": [
|
|
|
|
|
[
|
|
|
|
|
"styled-jsx/babel",
|
|
|
|
|
{
|
|
|
|
|
"vendorPrefixes": false
|
|
|
|
|
}
|
2019-09-08 10:41:06 -08:00
|
|
|
],
|
|
|
|
|
"@babel/plugin-proposal-numeric-separator",
|
|
|
|
|
"@babel/proposal-class-properties",
|
|
|
|
|
"@babel/proposal-object-rest-spread"
|
2018-03-17 04:51:36 -08:00
|
|
|
],
|
2017-01-09 12:32:15 -09:00
|
|
|
"env": {
|
|
|
|
|
"production": {
|
2017-02-15 17:09:14 -09:00
|
|
|
"plugins": [
|
|
|
|
|
"minify-constant-folding",
|
|
|
|
|
"minify-dead-code-elimination",
|
|
|
|
|
"minify-flip-comparisons",
|
|
|
|
|
"minify-guarded-expressions",
|
|
|
|
|
"minify-infinity",
|
2017-05-20 13:35:11 -08:00
|
|
|
[
|
|
|
|
|
"minify-mangle-names",
|
|
|
|
|
{
|
|
|
|
|
"keepClassName": true,
|
|
|
|
|
"keepFnName": true
|
|
|
|
|
}
|
|
|
|
|
],
|
2017-02-15 17:09:14 -09:00
|
|
|
"minify-replace",
|
|
|
|
|
"minify-simplify",
|
|
|
|
|
"minify-type-constructors",
|
|
|
|
|
"transform-member-expression-literals",
|
|
|
|
|
"transform-merge-sibling-variables",
|
|
|
|
|
"transform-minify-booleans",
|
|
|
|
|
"transform-property-literals",
|
|
|
|
|
"transform-simplify-comparison-operators",
|
|
|
|
|
"transform-undefined-to-void"
|
2017-01-09 12:32:15 -09:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-07-24 09:59:21 -08:00
|
|
|
},
|
|
|
|
|
"build": {
|
2016-10-06 07:28:43 -08:00
|
|
|
"appId": "co.zeit.hyper",
|
2019-09-30 23:06:10 -08:00
|
|
|
"directories": {
|
|
|
|
|
"app": "target"
|
|
|
|
|
},
|
2018-01-09 06:05:19 -09:00
|
|
|
"extraResources": [
|
|
|
|
|
"./bin/yarn-standalone.js",
|
|
|
|
|
"./bin/cli.js",
|
|
|
|
|
{
|
|
|
|
|
"from": "./build/${os}/",
|
|
|
|
|
"to": "./bin/",
|
2019-10-02 16:56:50 -08:00
|
|
|
"filter": [
|
|
|
|
|
"hyper*"
|
|
|
|
|
]
|
2018-01-09 06:05:19 -09:00
|
|
|
}
|
|
|
|
|
],
|
2016-07-25 15:41:24 -08:00
|
|
|
"linux": {
|
2017-09-10 05:35:10 -08:00
|
|
|
"category": "TerminalEmulator",
|
2016-07-26 16:11:40 -08:00
|
|
|
"target": [
|
2017-05-21 14:44:50 -08:00
|
|
|
{
|
|
|
|
|
"target": "deb",
|
2019-10-02 16:56:50 -08:00
|
|
|
"arch": [
|
|
|
|
|
"x64"
|
|
|
|
|
]
|
2017-05-21 14:44:50 -08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"target": "AppImage",
|
2019-10-02 16:56:50 -08:00
|
|
|
"arch": [
|
|
|
|
|
"x64"
|
|
|
|
|
]
|
2017-05-21 14:44:50 -08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"target": "rpm",
|
2019-10-02 16:56:50 -08:00
|
|
|
"arch": [
|
|
|
|
|
"x64"
|
|
|
|
|
]
|
2018-10-13 06:50:20 -08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"target": "snap",
|
2019-10-02 16:56:50 -08:00
|
|
|
"arch": [
|
|
|
|
|
"x64"
|
|
|
|
|
]
|
2017-05-21 14:44:50 -08:00
|
|
|
}
|
2016-07-26 16:11:40 -08:00
|
|
|
]
|
2016-09-14 23:36:48 -08:00
|
|
|
},
|
2016-11-16 03:01:02 -09:00
|
|
|
"win": {
|
2019-10-02 16:56:50 -08:00
|
|
|
"target": [
|
|
|
|
|
"squirrel"
|
|
|
|
|
],
|
2018-04-20 15:17:18 -08:00
|
|
|
"rfc3161TimeStampServer": "http://timestamp.comodoca.com"
|
2016-11-16 03:01:02 -09:00
|
|
|
},
|
2016-09-14 23:36:48 -08:00
|
|
|
"mac": {
|
2017-05-21 14:44:50 -08:00
|
|
|
"category": "public.app-category.developer-tools",
|
2019-06-13 15:28:02 -08:00
|
|
|
"extendInfo": "build/Info.plist",
|
|
|
|
|
"darkModeSupport": true
|
2018-01-09 06:05:19 -09:00
|
|
|
},
|
|
|
|
|
"deb": {
|
|
|
|
|
"afterInstall": "./build/linux/after-install.tpl"
|
|
|
|
|
},
|
|
|
|
|
"rpm": {
|
|
|
|
|
"afterInstall": "./build/linux/after-install.tpl"
|
2018-02-12 11:20:45 -09:00
|
|
|
},
|
2019-01-02 04:39:29 -09:00
|
|
|
"snap": {
|
|
|
|
|
"confinement": "classic"
|
|
|
|
|
},
|
2018-02-12 11:20:45 -09:00
|
|
|
"protocols": {
|
|
|
|
|
"name": "ssh URL",
|
2019-10-02 16:56:50 -08:00
|
|
|
"schemes": [
|
|
|
|
|
"ssh"
|
|
|
|
|
]
|
2016-07-25 15:41:24 -08:00
|
|
|
}
|
2016-07-24 09:59:21 -08:00
|
|
|
},
|
2016-10-17 00:29:12 -08:00
|
|
|
"license": "MIT",
|
|
|
|
|
"author": {
|
2018-01-17 06:58:49 -09:00
|
|
|
"name": "ZEIT, Inc.",
|
2016-10-17 00:29:12 -08:00
|
|
|
"email": "team@zeit.co"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2019-10-24 04:37:21 -08:00
|
|
|
"args": "5.0.1",
|
2019-11-11 03:41:26 -09:00
|
|
|
"chalk": "3.0.0",
|
2019-10-16 14:12:00 -08:00
|
|
|
"color": "3.1.2",
|
2018-01-09 06:05:19 -09:00
|
|
|
"columnify": "1.5.4",
|
2019-12-07 21:24:20 -09:00
|
|
|
"css-loader": "3.2.1",
|
2019-12-07 22:38:46 -09:00
|
|
|
"got": "10.0.2",
|
2017-08-31 05:20:39 -08:00
|
|
|
"json-loader": "0.5.7",
|
2017-11-02 18:51:18 -08:00
|
|
|
"mousetrap": "chabou/mousetrap#useCapture",
|
2019-10-10 11:20:26 -08:00
|
|
|
"ms": "2.1.2",
|
2019-10-15 11:16:23 -08:00
|
|
|
"open": "7.0.0",
|
2019-11-18 02:55:44 -09:00
|
|
|
"ora": "4.0.3",
|
2019-10-14 17:12:06 -08:00
|
|
|
"parse-url": "5.0.1",
|
2016-10-17 00:29:12 -08:00
|
|
|
"php-escape-shell": "1.0.0",
|
2019-11-18 02:56:31 -09:00
|
|
|
"react": "16.12.0",
|
2019-10-10 11:20:26 -08:00
|
|
|
"react-deep-force-update": "2.1.3",
|
2019-11-19 06:10:09 -09:00
|
|
|
"react-dom": "16.12.0",
|
2019-11-11 06:23:45 -09:00
|
|
|
"react-redux": "7.1.3",
|
2019-10-20 22:10:27 -08:00
|
|
|
"recast": "0.18.5",
|
2019-10-10 11:20:26 -08:00
|
|
|
"redux": "4.0.4",
|
|
|
|
|
"redux-thunk": "2.3.0",
|
|
|
|
|
"reselect": "4.0.0",
|
|
|
|
|
"seamless-immutable": "7.1.4",
|
|
|
|
|
"semver": "6.3.0",
|
2018-01-22 00:21:01 -09:00
|
|
|
"shebang-loader": "0.0.1",
|
2019-11-11 10:10:19 -09:00
|
|
|
"styled-jsx": "3.2.4",
|
2019-10-10 11:20:26 -08:00
|
|
|
"stylis": "3.5.4",
|
|
|
|
|
"uuid": "3.3.3",
|
2019-11-03 05:15:45 -09:00
|
|
|
"webpack-cli": "3.3.10",
|
2019-12-08 06:03:57 -09:00
|
|
|
"xterm": "^4.3.0",
|
2019-10-25 07:28:44 -08:00
|
|
|
"xterm-addon-fit": "^0.3.0",
|
2019-10-17 12:07:26 -08:00
|
|
|
"xterm-addon-ligatures": "^0.2.1",
|
2019-12-07 21:23:53 -09:00
|
|
|
"xterm-addon-search": "^0.4.0",
|
2019-10-08 13:52:53 -08:00
|
|
|
"xterm-addon-web-links": "^0.2.1",
|
2019-12-07 22:38:01 -09:00
|
|
|
"xterm-addon-webgl": "^0.4.0"
|
2016-10-17 00:29:12 -08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2019-11-11 06:25:44 -09:00
|
|
|
"@babel/cli": "7.7.0",
|
2019-12-08 13:24:41 -09:00
|
|
|
"@babel/core": "7.7.5",
|
2019-12-04 04:44:45 -09:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
2019-11-27 03:54:38 -09:00
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
|
2019-11-25 03:50:54 -09:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
|
2019-11-27 03:54:37 -09:00
|
|
|
"@babel/preset-react": "7.7.4",
|
2019-12-02 03:45:33 -09:00
|
|
|
"@babel/preset-typescript": "7.7.4",
|
2019-11-11 06:21:42 -09:00
|
|
|
"@types/color": "3.0.0",
|
|
|
|
|
"@types/mousetrap": "^1.6.3",
|
2019-12-09 04:40:09 -09:00
|
|
|
"@types/node": "^12.12.15",
|
2019-10-12 04:23:47 -08:00
|
|
|
"@types/plist": "3.0.2",
|
2019-12-08 13:24:40 -09:00
|
|
|
"@types/react": "^16.9.15",
|
2019-11-11 03:41:18 -09:00
|
|
|
"@types/react-dom": "^16.9.4",
|
2019-10-19 09:44:57 -08:00
|
|
|
"@types/react-redux": "^7.1.5",
|
2019-10-12 04:23:47 -08:00
|
|
|
"@types/seamless-immutable": "7.1.11",
|
2019-11-11 06:21:42 -09:00
|
|
|
"@types/styled-jsx": "2.2.8",
|
2019-11-03 05:13:49 -09:00
|
|
|
"@types/uuid": "3.4.6",
|
2019-12-07 21:23:26 -09:00
|
|
|
"@typescript-eslint/eslint-plugin": "2.10.0",
|
2019-12-04 04:45:40 -09:00
|
|
|
"@typescript-eslint/parser": "2.10.0",
|
2019-10-24 04:13:40 -08:00
|
|
|
"ava": "2.4.0",
|
2019-09-08 07:32:04 -08:00
|
|
|
"babel-loader": "8.0.6",
|
|
|
|
|
"babel-preset-minify": "0.5.1",
|
2019-10-10 11:20:26 -08:00
|
|
|
"concurrently": "5.0.0",
|
2019-11-18 02:57:57 -09:00
|
|
|
"copy-webpack-plugin": "5.0.5",
|
2019-10-10 11:20:26 -08:00
|
|
|
"cpy-cli": "^2.0.0",
|
|
|
|
|
"cross-env": "6.0.3",
|
2019-12-08 13:24:41 -09:00
|
|
|
"electron": "7.1.3",
|
2019-12-07 21:26:12 -09:00
|
|
|
"electron-builder": "22.2.0",
|
2019-12-04 04:43:14 -09:00
|
|
|
"electron-builder-squirrel-windows": "22.2.0",
|
2018-12-25 17:15:25 -09:00
|
|
|
"electron-devtools-installer": "2.2.4",
|
2019-11-25 03:52:10 -09:00
|
|
|
"electron-rebuild": "1.8.8",
|
2019-12-04 04:44:47 -09:00
|
|
|
"eslint": "6.7.2",
|
2019-12-04 04:42:56 -09:00
|
|
|
"eslint-config-prettier": "6.7.0",
|
2019-10-02 16:56:50 -08:00
|
|
|
"eslint-plugin-prettier": "3.1.1",
|
2019-12-04 04:44:43 -09:00
|
|
|
"eslint-plugin-react": "7.17.0",
|
2019-12-04 06:29:43 -09:00
|
|
|
"fork-ts-checker-webpack-plugin": "3.1.1",
|
2019-11-18 02:58:50 -09:00
|
|
|
"husky": "3.1.0",
|
2019-10-12 17:48:32 -08:00
|
|
|
"inquirer": "7.0.0",
|
2019-11-03 05:13:23 -09:00
|
|
|
"node-gyp": "6.0.1",
|
2019-09-29 20:34:30 -08:00
|
|
|
"null-loader": "3.0.0",
|
2019-10-10 11:20:26 -08:00
|
|
|
"plist": "3.0.1",
|
2019-11-19 06:27:45 -09:00
|
|
|
"prettier": "1.19.1",
|
2019-10-12 17:48:05 -08:00
|
|
|
"proxyquire": "2.1.3",
|
2019-10-25 01:10:18 -08:00
|
|
|
"spectron": "9.0.0",
|
2019-12-07 22:38:49 -09:00
|
|
|
"style-loader": "1.0.1",
|
2019-12-07 21:24:49 -09:00
|
|
|
"typescript": "3.7.3",
|
2019-10-16 14:12:28 -08:00
|
|
|
"webpack": "4.41.2"
|
2019-10-25 02:58:59 -08:00
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-push": "yarn test"
|
|
|
|
|
}
|
2016-06-30 22:01:04 -08:00
|
|
|
}
|
|
|
|
|
}
|