https://github.com/oblador/react-native-vector-icons
Raw File
Tip revision: 5e029cbce89086e6e93261f43ce6382d9e2d0bbe authored by John Ferlito on 02 January 2024, 21:35:49 UTC
Publish
Tip revision: 5e029cb
package.json
{
  "private": true,
  "version": "0.0.1",
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
    "prepare": "lerna run prepare",
    "build": "scripts/build.sh",
    "clean": "yarn workspaces foreach --all run clean",
    "format": "prettier **/*.{ts,tsx} --write",
    "test": "yarn workspaces foreach run test",
    "lint": "eslint \"**/*.{js,ts,tsx}\"",
    "publish": "lerna publish --no-private from-package",
    "version": "lerna version --no-private --no-push",
    "build-web": "rm -rf ./dist && babel *.js --out-dir ./dist && babel lib --out-dir ./dist/lib && cp -R ./glyphmaps ./dist/glyphmaps"
  },
  "devDependencies": {
    "@testing-library/dom": "^9.3.3",
    "@types/eslint": "^8.56.0",
    "@typescript-eslint/eslint-plugin": "^6.17.0",
    "@typescript-eslint/parser": "^6.17.0",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-typescript": "^17.1.0",
    "eslint-plugin-import": "^2.29.1",
    "lerna": "^8.0.1",
    "typescript": "^5.3.3"
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@react-native",
      "airbnb",
      "airbnb-typescript",
      "prettier",
      "plugin:import/typescript"
    ],
    "rules": {
      "no-unused-vars": "off",
      "@typescript-eslint/no-unused-vars": [
        "error"
      ],
      "prettier/prettier": [
        "error",
        {
          "quoteProps": "consistent",
          "singleQuote": true,
          "tabWidth": 2,
          "trailingComma": "es5",
          "useTabs": false
        }
      ],
      "react/function-component-definition": "off",
      "FIXME: Something wrong above": "off",
      "import/prefer-default-export": "off",
      "react/jsx-props-no-spreading": "off",
      "react/require-default-props": "off"
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "lib/"
  ],
  "prettier": {
    "quoteProps": "consistent",
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "es5",
    "useTabs": false
  },
  "packageManager": "yarn@4.0.2"
}
back to top