package.json 1.83 KB
{
  "name": "khudrive",
  "version": "0.1.0",
  "description": "Dropbox alternative cloud file service",
  "private": true,
  "dependencies": {
    "classnames": "^2.2.6",
    "ky": "^0.20.0",
    "miragejs": "^0.1.40",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.2.0"
  },
  "devDependencies": {
    "@hot-loader/react-dom": "^16.13.0",
    "@testing-library/jest-dom": "^5.9.0",
    "@testing-library/react": "^10.2.0",
    "@testing-library/user-event": "^11.2.0",
    "@types/classnames": "^2.2.10",
    "@types/jest": "^25.2.3",
    "@types/node": "12",
    "@types/react": "^16.9.35",
    "@types/react-dom": "^16.9.8",
    "@types/react-router-dom": "^5.1.5",
    "@typescript-eslint/eslint-plugin": "^2.34.0",
    "@typescript-eslint/parser": "^2.34.0",
    "customize-cra": "1.0.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-jest": "^23.13.2",
    "husky": "^4.2.5",
    "lint-staged": "^10.2.9",
    "node-sass": "^4.14.1",
    "prettier": "^2.0.5",
    "react-app-rewired": "^2.1.6",
    "react-hot-loader": "^4.12.21",
    "react-scripts": "3.4.1",
    "typescript": "^3.9.5",
    "webpack-bundle-analyzer": "^3.8.0"
  },
  "scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
    "analyze": "npm run build -- --analyze",
    "lint": "eslint --ext js,jsx,ts,tsx src",
    "prettier": "prettier --write \"src/**/*.{js,ts,tsx,json,css,scss}\"",
    "test": "react-app-rewired test"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,ts,tsx,json,css,scss}": "prettier --write"
  }
}