{
  "name": "Dev.to",
  "version": "1.0.0",
  "description": "Where programmers share ideas and help each other grow",
  "main": "index.js",
  "directories": {
    "doc": "docs",
    "lib": "lib",
    "test": "test"
  },
  "scripts": {
    "test": "jest app/javascript/ --coverage",
    "test:watch": "jest app/javascript/ --watch",
    "storybook": "start-storybook -p 6006 -c app/javascript/.storybook -s app/javascript/.storybook/assets",
    "build-storybook": "build-storybook -c app/javascript/.storybook -s app/javascript/.storybook/assets"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,jsx}": [
      "prettier --write",
      "eslint --fix",
      "git add"
    ],
    "{app,spec}/**/*.rb": [
      "bundle exec rubocop --require rubocop-rspec --safe-auto-correct",
      "git add"
    ],
    "app/**/*.html.erb": [
      "bin/bundle exec erblint",
      "git add"
    ],
    "*.json": [
      "prettier --write",
      "git add"
    ],
    "*.md": [
      "prettier --write",
      "git add"
    ]
  },
  "prettier": {
    "singleQuote": true,
    "trailingComma": "all",
    "printWidth": 80
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/thepracticaldev/dev.to.git"
  },
  "author": "",
  "license": "AGPL-3.0-or-later",
  "bugs": {
    "url": "https://github.com/thepracticaldev/dev.to/issues"
  },
  "homepage": "https://github.com/thepracticaldev/dev.to#readme",
  "devDependencies": {
    "@storybook/addon-actions": "^5.1.9",
    "@storybook/addon-links": "^5.1.9",
    "@storybook/addons": "^5.1.8",
    "@storybook/react": "^3.4.11",
    "babel-eslint": "^10.0.2",
    "babel-jest": "^23.4.2",
    "eslint": "^5.16.0",
    "eslint-config-airbnb": "^17.1.1",
    "eslint-config-airbnb-base": "^13.1.0",
    "eslint-config-prettier": "^6.0.0",
    "eslint-plugin-babel": "^5.3.0",
    "eslint-plugin-ignore-erb": "^0.1.1",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.14.2",
    "faker": "^4.1.0",
    "husky": "^3.0.1",
    "jest": "^23.5.0",
    "jest-fetch-mock": "^2.1.2",
    "jsdom": "^15.1.1",
    "lint-staged": "^9.2.0",
    "preact-render-spy": "1.3.0",
    "preact-render-to-json": "^3.6.6",
    "prettier": "^1.18.2",
    "webpack-dev-server": "^2.11.3"
  },
  "dependencies": {
    "@github/clipboard-copy-element": "^1.0.1",
    "@rails/webpacker": "^3.5.5",
    "babel-plugin-transform-react-jsx": "^6.24.1",
    "babel-preset-preact": "^1.1.0",
    "chart.js": "^2.8.0",
    "codemirror": "^5.48.0",
    "focus-visible": "^5.0.2",
    "intersection-observer": "^0.7.0",
    "linkstate": "^1.1.1",
    "lodash.debounce": "4.0.8",
    "marked": "^0.7.0",
    "postscribe": "^2.0.8",
    "preact": "^8.4.2",
    "preact-compat": "^3.19.0",
    "preact-textarea-autosize": "^4.0.7",
    "prop-types": "^15.7.2",
    "pusher-js": "^4.4.0",
    "twilio-video": "^1.18.2",
    "web-share-wrapper": "^0.2.1"
  },
  "jest": {
    "setupFiles": [
      "jest-localstorage-mock"
    ]
  }
}
