Skip to content
Snippets Groups Projects
package.json 3.11 KiB
Newer Older
Luka's avatar
Luka committed
{
  "name": "stackspin-dashboard",
  "version": "0.1.1",
Luka's avatar
Luka committed
Luka's avatar
Luka committed
Luka's avatar
Luka committed
Luka's avatar
Luka committed
    "react-scripts": "4.0.3",
    "react-simple-code-editor": "^0.11.0",
    "react-table": "^7.7.0",
    "redux": "^4.1.0",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.3.0",
    "tailwindcss": "npm:@tailwindcss/postcss7-compat",
    "typescript": "^4.1.2",
    "urlcat": "^2.0.4",
    "web-vitals": "^1.0.1",
    "yup": "^0.32.9"
  },
  "scripts": {
    "start": "craco start",
    "build": "craco build",
    "test": "craco test",
    "eject": "react-scripts eject",
    "lint": "eslint ./src --cache --ext .js,.jsx,.ts,.tsx",
    "lint-staged": "lint-staged"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@types/lodash": "^4.14.171",
    "@types/prismjs": "^1.16.6",
    "@types/react": "^17.0.18",
Luka's avatar
Luka committed
Luka's avatar
Luka committed
    "@types/react-table": "^7.7.2",
    "autoprefixer": "^9",
    "dotenv": "^10.0.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-config-airbnb-typescript": "^12.3.1",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-cypress": "^2.11.3",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-promise": "^5.1.0",
    "postcss": "^7",
    "pre-commit": "^1.2.2",
    "prettier": "^2.3.2",
    "sass": "^1.36.0"
  },
  "pre-commit": "lint-staged",
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "prettier --write",
      "eslint --ext .ts,.tsx,.js --max-warnings=3 --fix-dry-run"
    ]
  },
  "eslintIgnore": [
    ".eslintrc.js"
  ],
  "prettier": {
    "overrides": [
      {
        "files": [
          ".prettierrc",
          ".babelrc",
          ".eslintrc"
        ],
        "options": {
          "parser": "json"
        }
      }
    ],
    "singleQuote": true,
    "printWidth": 120,
    "bracketSpacing": true,
    "trailingComma": "all",
    "endOfLine": "lf"
  }
}