{
  "repository": "zeit/hyper",
  "scripts": {
    "start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'",
    "app": "electron app",
    "dev": "webpack -w",
    "build": "cross-env NODE_ENV=production webpack",
    "lint": "xo",
    "test": "yarn run lint",
    "test:unit": "ava test/unit",
    "test:unit:watch": "yarn run test:unit -- --watch",
    "prepush": "yarn test",
    "postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty",
    "rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
    "dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build",
    "clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer"
  },
  "xo": {
    "extends": "xo-react",
    "esnext": true,
    "space": true,
    "env": [
      "browser",
      "node"
    ],
    "rules": {
      "new-cap": 0,
      "complexity": 0,
      "react/prop-types": 0,
      "react/jsx-no-bind": 0,
      "linebreak-style": 0
    },
    "ignores": [
      "build/**",
      "app/dist/**",
      "app/static/**",
      "app/bin/**",
      "assets/**",
      "website/**",
      "bin/**"
    ]
  },
  "babel": {
    "presets": [
      "react"
    ],
    "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",
    "extraResources": "./bin/yarn-standalone.js",
    "linux": {
      "target": [
        {
          "target": "deb",
          "arch": [
            "ia32",
            "x64"
          ]
        },
        {
          "target": "AppImage",
          "arch": [
            "ia32",
            "x64"
          ]
        },
        {
          "target": "rpm",
          "arch": [
            "ia32",
            "x64"
          ]
        }
      ]
    },
    "win": {
      "target": [
        "squirrel"
      ]
    },
    "mac": {
      "category": "public.app-category.developer-tools",
      "extendInfo": "build/Info.plist"
    }
  },
  "license": "MIT",
  "author": {
    "name": "Zeit, Inc.",
    "email": "team@zeit.co"
  },
  "dependencies": {
    "aphrodite-simple": "0.4.1",
    "color": "0.11.4",
    "hterm-umdjs": "1.1.3",
    "json-loader": "0.5.4",
    "mousetrap": "1.6.1",
    "ms": "0.7.2",
    "php-escape-shell": "1.0.0",
    "react": "15.6.1",
    "react-deep-force-update": "2.0.1",
    "react-dom": "15.6.1",
    "react-redux": "5.0.5",
    "redux": "3.7.2",
    "redux-thunk": "2.2.0",
    "reselect": "3.0.1",
    "runes": "0.4.2",
    "seamless-immutable": "6.1.3",
    "semver": "5.4.1",
    "uuid": "3.0.1"
  },
  "devDependencies": {
    "ava": "0.17.0",
    "babel-cli": "6.24.1",
    "babel-core": "6.25.0",
    "babel-loader": "7.1.1",
    "babel-preset-babili": "0.1.4",
    "babel-preset-react": "6.24.1",
    "copy-webpack-plugin": "4.0.1",
    "cross-env": "5.0.1",
    "electron": "1.6.12",
    "electron-builder": "19.19.1",
    "electron-builder-squirrel-windows": "19.19.1",
    "electron-devtools-installer": "2.2.0",
    "electron-rebuild": "1.6.0",
    "eslint-config-xo-react": "0.10.0",
    "eslint-plugin-react": "6.7.1",
    "husky": "0.14.3",
    "node-gyp": "3.6.2",
    "redux-logger": "3.0.6",
    "spectron": "3.6.4",
    "webpack": "3.4.1",
    "xo": "0.17.1"
  }
}
