{
  "name": "rmb-recipe-block",
  "title": "Recipe Block",
  "version": "1.1.2",
  "author": "Kelly Choyce-Dwan",
  "license": "GPL-2.0-or-later",
  "homepage": "https://ryelle.codes/",
  "repository": {
    "type": "git",
    "url": "https://github.com:ryelle/rmb-recipe-block.git"
  },
  "engines": {
    "node": "14.17.5",
    "npm": "7.21.0"
  },
  "files": [
    "assets/**",
    "build/**",
    "readme.txt",
    "package.json",
    "rmb-recipe-block.php"
  ],
  "main": "build/recipe-block.js",
  "devDependencies": {
    "@wordpress/scripts": "17.1.0",
    "concurrently": "6.2.1",
    "prettier": "npm:wp-prettier@2.0.5"
  },
  "scripts": {
    "build": "wp-scripts build recipe-block=./assets/js/recipe-block.js",
    "start": "wp-scripts start recipe-block=./assets/js/recipe-block.js",
    "format:js": "wp-scripts format-js assets/js/**/*.js",
    "lint:css": "wp-scripts lint-style assets/css/*",
    "lint:css:fix": "wp-scripts lint-style assets/css/* --fix",
    "lint:js": "wp-scripts lint-js assets/js/**/*.js",
    "lint:js:fix": "wp-scripts format-js assets/js/**/*.js",
    "lint:php": "composer run lint",
    "lint:php:fix": "composer run format",
    "lint": "concurrently \"npm run lint:js\" \"npm run lint:css\" \"npm run lint:php\"",
    "ci": "npm run lint:js && npm run lint:css"
  },
  "stylelint": {
    "rules": {
      "selector-class-pattern": [
        "^([a-z][a-z0-9]*)(-[a-z0-9]+)*(__[a-z0-9]+)?(-[a-z0-9]+)*$",
        {
          "message": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)"
        }
      ]
    }
  },
  "eslintConfig": {
    "extends": [
      "plugin:@wordpress/eslint-plugin/recommended"
    ],
    "rules": {
      "import/no-extraneous-dependencies": "off",
      "import/no-unresolved": [
        "error",
        {
          "ignore": [
            "^@wordpress",
            "lodash"
          ]
        }
      ]
    }
  }
}
