ljosberinn/eslint-config-galex

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "$schema": "https://json.schemastore.org/package.json",
  "name": "eslint-config-galex",
  "version": "4.5.2",
  "description": "personal ESLint ruleset of galex",
  "keywords": [
    "eslint",
    "eslintconfig",
    "config",
    "galex",
    "javascript",
    "styleguide",
    "typescript",
    "react",
    "nextjs",
    "jest",
    "testing-library",
    "storybook",
    "remix-run"
  ],
  "homepage": "https://github.com/ljosberinn/eslint-config-galex#readme",
  "bugs": {
    "url": "https://github.com/ljosberinn/eslint-config-galex/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/ljosberinn/eslint-config-galex.git"
  },
  "license": "MIT",
  "author": "Gerrit Alex <admin@gerritalex.de> (https://gerritalex.de)",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "scripts": {
    "build": "rimraf dist && tsc -b tsconfig.build.json && node scripts/monkey-patch-default-export.js",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix && prettier --write .",
    "install:clean": "rimraf node_modules yarn.lock && yarn",
    "test": "yarn build && jest",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage",
    "types": "tsc --noEmit",
    "semantic-release": "semantic-release",
    "install:integration": "cd integration/cra-js && yarn --frozen-lockfile && cd ../cra-ts && yarn --frozen-lockfile && cd ../next-js && yarn --frozen-lockfile && cd ../next-ts && yarn --frozen-lockfile",
    "install:integration:clean": "rimraf --glob integration/**/node_modules integration/**/yarn.lock && cd integration/cra-js && yarn && cd ../cra-ts && yarn && cd ../next-js && yarn && cd ../next-ts && yarn && cd ../remix-js && yarn && cd ../remix-ts && yarn && cd ../jest && yarn && cd ../nest-ts && yarn && cd ../js-ts-migration-mix-checkJs-off && yarn && cd ../js-ts-migration-mix-checkJs-on && yarn && cd ../js-ts-migration-mix-force-js-linting && yarn "
  },
  "eslintIgnore": [
    "node_modules"
  ],
  "jest": {
    "clearMocks": true,
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/generateStandalone.ts"
    ],
    "testPathIgnorePatterns": [
      "<rootDir>/integration",
      "<rootDir>/dist",
      "<rootDir>/__tests__/shared"
    ],
    "coverageDirectory": "coverage",
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "modulePaths": [
      "<rootDir>"
    ],
    "resetMocks": true,
    "restoreMocks": true,
    "watchPlugins": [
      "jest-watch-typeahead/filename",
      "jest-watch-typeahead/testname"
    ],
    "transform": {
      "^.+\\.(js|jsx|ts|tsx)$": [
        "babel-jest",
        {
          "presets": [
            "next/babel"
          ]
        }
      ]
    },
    "snapshotFormat": {
      "printBasicPrototype": false
    }
  },
  "dependencies": {
    "@babel/core": "7.21.4",
    "@babel/eslint-parser": "7.21.3",
    "@babel/preset-react": "7.18.6",
    "@next/eslint-plugin-next": "13.4.4",
    "@typescript-eslint/eslint-plugin": "5.56.0",
    "@typescript-eslint/parser": "5.56.0",
    "confusing-browser-globals": "1.0.11",
    "eslint-config-prettier": "8.8.0",
    "eslint-import-resolver-jsconfig": "1.1.0",
    "eslint-import-resolver-node": "0.3.7",
    "eslint-import-resolver-typescript": "3.5.4",
    "eslint-plugin-etc": "2.0.3",
    "eslint-plugin-import": "2.27.5",
    "eslint-plugin-jest": "27.2.1",
    "eslint-plugin-jest-dom": "4.0.3",
    "eslint-plugin-jest-formatting": "3.1.0",
    "eslint-plugin-jsx-a11y": "6.7.1",
    "eslint-plugin-promise": "6.1.1",
    "eslint-plugin-react": "7.32.2",
    "eslint-plugin-react-hooks": "4.6.0",
    "eslint-plugin-simple-import-sort": "10.0.0",
    "eslint-plugin-sonarjs": "0.19.0",
    "eslint-plugin-storybook": "0.6.11",
    "eslint-plugin-tailwindcss": "3.10.3",
    "eslint-plugin-testing-library": "5.10.2",
    "eslint-plugin-unicorn": "46.0.0",
    "lodash.merge": "4.6.2",
    "read-pkg-up": "7.0.1",
    "typescript": "5.1.3"
  },
  "devDependencies": {
    "@semantic-release/changelog": "6.0.3",
    "@semantic-release/git": "10.0.1",
    "@types/confusing-browser-globals": "1.0.0",
    "@types/eslint": "8.40.2",
    "@types/eslint-config-prettier": "6.11.0",
    "@types/jest": "29.5.2",
    "@types/lodash.merge": "4.6.7",
    "@types/node": "18.16.19",
    "babel-jest": "29.5.0",
    "eslint": "8.43.0",
    "jest": "29.5.0",
    "jest-watch-typeahead": "2.2.2",
    "next": "13.4.4",
    "prettier": "2.8.8",
    "rimraf": "4.4.1",
    "semantic-release": "19.0.5"
  },
  "peerDependencies": {
    "eslint": ">=8.27.0"
  },
  "engines": {
    "node": ">=14.17"
  },
  "release": {
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/github",
      "@semantic-release/npm",
      "@semantic-release/changelog",
      "@semantic-release/release-notes-generator",
      [
        "@semantic-release/git",
        {
          "assets": [
            "package.json"
          ]
        }
      ]
    ]
  },
  "files": [
    "dist",
    "README.md",
    "package.json",
    "LICENSE"
  ]
}