{ "name": "hyper", "version": "3.1.0-canary.1", "repository": "zeit/hyper", "scripts": { "start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'", "app": "electron target", "dev": "concurrently -n \"Webpack,TypeScript Compiler\" -c \"cyan.bold,blue.bold\" \"webpack -w\" \"tsc --pretty --watch --preserveWatchOutput\" -k", "build": "cross-env NODE_ENV=production webpack && tsc", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "test": "yarn run lint && yarn run test:unit", "test:unit": "ava", "test:unit:watch": "yarn run test:unit -- --watch", "prepush": "yarn test", "postinstall": "webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cpy --cwd=target --parents 'node_modules/**/*' '../app/'", "rebuild-node-pty": "electron-rebuild -f -w target/node_modules/node-pty -m target", "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", "clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer" }, "ava": { "files": [ "test/unit/*" ], "helpers": [ "**/testUtils/**/*" ] }, "eslintConfig": { "plugins": [ "react", "prettier", "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 8, "sourceType": "module", "ecmaFeatures": { "jsx": true, "impliedStrict": true, "experimentalObjectRestSpread": true }, "allowImportExportEverywhere": true }, "env": { "es6": true, "browser": true, "node": true }, "settings": { "react": { "version": "detect" } }, "rules": { "func-names": [ "error", "as-needed" ], "no-shadow": "error", "no-extra-semi": 0, "react/prop-types": 0, "react/react-in-jsx-scope": 0, "react/no-unescaped-entities": 0, "react/jsx-no-target-blank": 0, "react/no-string-refs": 0, "prettier/prettier": [ "error", { "printWidth": 120, "tabWidth": 2, "singleQuote": true, "trailingComma": "none", "bracketSpacing": false, "semi": true, "useTabs": false, "jsxBracketSameLine": false } ] }, "overrides": [ { "files": [ "app/config/config-default.js", ".hyper.js" ], "rules": { "prettier/prettier": [ "error", { "printWidth": 120, "tabWidth": 2, "singleQuote": true, "trailingComma": "es5", "bracketSpacing": false, "semi": true, "useTabs": false, "parser": "babel", "jsxBracketSameLine": false } ] } }, { "files": [ "**.ts", "**.tsx" ], "extends": [ "plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint" ], "rules": { "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off" } } ] }, "babel": { "presets": [ "@babel/react", "@babel/typescript" ], "plugins": [ [ "styled-jsx/babel", { "vendorPrefixes": false } ], "@babel/plugin-proposal-numeric-separator", "@babel/proposal-class-properties", "@babel/proposal-object-rest-spread" ], "env": { "production": { "plugins": [ "minify-constant-folding", "minify-dead-code-elimination", "minify-flip-comparisons", "minify-guarded-expressions", "minify-infinity", [ "minify-mangle-names", { "keepClassName": true, "keepFnName": true } ], "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" ] } } }, "build": { "appId": "co.zeit.hyper", "directories": { "app": "target" }, "extraResources": [ "./bin/yarn-standalone.js", "./bin/cli.js", { "from": "./build/${os}/", "to": "./bin/", "filter": [ "hyper*" ] } ], "linux": { "category": "TerminalEmulator", "target": [ { "target": "deb", "arch": [ "x64" ] }, { "target": "AppImage", "arch": [ "x64" ] }, { "target": "rpm", "arch": [ "x64" ] }, { "target": "snap", "arch": [ "x64" ] } ] }, "win": { "target": [ "squirrel" ], "rfc3161TimeStampServer": "http://timestamp.comodoca.com" }, "mac": { "category": "public.app-category.developer-tools", "extendInfo": "build/Info.plist", "darkModeSupport": true }, "deb": { "afterInstall": "./build/linux/after-install.tpl" }, "rpm": { "afterInstall": "./build/linux/after-install.tpl" }, "snap": { "confinement": "classic" }, "protocols": { "name": "ssh URL", "schemes": [ "ssh" ] } }, "license": "MIT", "author": { "name": "ZEIT, Inc.", "email": "team@zeit.co" }, "dependencies": { "args": "5.0.1", "chalk": "2.4.2", "color": "3.1.2", "columnify": "1.5.4", "css-loader": "3.2.0", "got": "9.6.0", "json-loader": "0.5.7", "mousetrap": "chabou/mousetrap#useCapture", "ms": "2.1.2", "open": "7.0.0", "ora": "4.0.2", "parse-url": "5.0.1", "php-escape-shell": "1.0.0", "react": "16.11.0", "react-deep-force-update": "2.1.3", "react-dom": "16.11.0", "react-redux": "7.1.1", "recast": "0.18.5", "redux": "4.0.4", "redux-thunk": "2.3.0", "reselect": "4.0.0", "seamless-immutable": "7.1.4", "semver": "6.3.0", "shebang-loader": "0.0.1", "styled-jsx": "3.2.2", "stylis": "3.5.4", "uuid": "3.3.3", "webpack-cli": "3.3.9", "xterm": "~4.1.0", "xterm-addon-fit": "^0.2.1", "xterm-addon-ligatures": "^0.2.1", "xterm-addon-search": "^0.2.1", "xterm-addon-web-links": "^0.2.1", "xterm-addon-webgl": "^0.2.1" }, "devDependencies": { "@babel/cli": "7.6.4", "@babel/core": "7.6.4", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-proposal-numeric-separator": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.6.2", "@babel/preset-react": "7.6.3", "@babel/preset-typescript": "7.6.0", "@types/node": "^12.11.7", "@types/plist": "3.0.2", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.2", "@types/react-redux": "^7.1.5", "@types/seamless-immutable": "7.1.11", "@types/uuid": "3.4.5", "@typescript-eslint/eslint-plugin": "2.5.0", "@typescript-eslint/parser": "2.5.0", "ava": "2.4.0", "babel-loader": "8.0.6", "babel-preset-minify": "0.5.1", "concurrently": "5.0.0", "copy-webpack-plugin": "5.0.4", "cpy-cli": "^2.0.0", "cross-env": "6.0.3", "electron": "6.0.12", "electron-builder": "21.2.0", "electron-builder-squirrel-windows": "22.1.0", "electron-devtools-installer": "2.2.4", "electron-rebuild": "1.8.6", "eslint": "6.5.1", "eslint-config-prettier": "6.4.0", "eslint-plugin-prettier": "3.1.1", "eslint-plugin-react": "7.16.0", "fork-ts-checker-webpack-plugin": "1.5.1", "husky": "3.0.9", "inquirer": "7.0.0", "node-gyp": "6.0.0", "null-loader": "3.0.0", "plist": "3.0.1", "prettier": "1.18.2", "proxyquire": "2.1.3", "spectron": "9.0.0", "style-loader": "1.0.0", "typescript": "3.6.4", "webpack": "4.41.2" } }