{
  "name": "magazine-blocks",
  "version": "1.3.9",
  "license": "GPL-2.0+",
  "author": "ThemeGrill",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/themegrill/magazine-blocks.git"
  },
  "scripts": {
    "dev": "pnpm start",
    "start:dashboard": "webpack-dev-server --mode development --hot --config ./webpack/webpack.dashboard.js ",
    "start:blocks": "webpack --watch --mode development --config ./webpack/webpack.blocks.js",
    "build:blocks": "webpack --mode production --config ./webpack/webpack.blocks.js",
    "build:dashboard": "webpack --mode production --config ./webpack/webpack.dashboard.js",
    "start:frontend": "cross-env NODE_ENV=development webpack --watch --mode development --config ./webpack/webpack.frontend.js",
    "build:frontend": "cross-env NODE_ENV=production webpack --mode production --config ./webpack/webpack.frontend.js",
    "build:backward": "node ./webpack/pre-replace.js && cross-env REACT_VERSION=17 webpack --mode production --config ./webpack/webpack.js && node ./webpack/post-replace.js && pnpm add @chakra-ui/react",
    "start": "cross-env NODE_ENV=development webpack-dev-server --mode development --hot --config ./webpack/webpack.js",
    "build": "pnpm clean:dist && pnpm build:frontend && cross-env NODE_ENV=production webpack --mode production --config ./webpack/webpack.js",
    "setup": "pnpm install && composer install && composer dump-autoload",
    "prepare-prod": "npm install --only=prod && composer install --no-dev -o && composer dump-autoload --no-scripts -o --no-dev && npm run build",
    "prepare": "husky install",
    "release": "grunt release",
    "lint": "eslint ./src --ext ts,tsx",
    "prettier": "prettier --ignore-path .gitignore --check \"**/*.+(ts|tsx)\"",
    "format": "prettier --ignore-path .gitignore --write \"**/*.+(ts|tsx)\"",
    "prettier:fix": "prettier --write \"**/*.+(ts|tsx)\"",
    "switchDev": "replace-in-file \"define( 'MAGAZINE_BLOCKS_DEVELOPMENT', false );\" \"define( 'MAGAZINE_BLOCKS_DEVELOPMENT', true );\" ../../../wp-config.php",
    "switchProd": "replace-in-file \"define( 'MAGAZINE_BLOCKS_DEVELOPMENT', true );\" \"define( 'MAGAZINE_BLOCKS_DEVELOPMENT', false );\" ../../../wp-config.php",
    "clean:dist": "pnpm rimraf ./dist"
  },
  "dependencies": {
    "@chakra-ui/react": "^2.8.2",
    "@chakra-ui/react-v189": "npm:@chakra-ui/react@1.8.9",
    "@emotion/react": "11",
    "@emotion/styled": "11",
    "@radix-ui/react-scroll-area": "^1.0.5",
    "@radix-ui/react-tabs": "^1.0.4",
    "@splidejs/react-splide": "^0.7.12",
    "@splidejs/splide": "^4.1.4",
    "@types/micromodal": "^0.3.5",
    "classnames": "^2.5.1",
    "clsx": "^2.0.0",
    "colord": "^2.9.3",
    "default-composer": "^0.3.0",
    "fast-deep-equal": "^3.1.3",
    "gradient-parser": "^1.0.2",
    "html-react-parser": "^3.0.16",
    "micromodal": "^0.4.10",
    "react-colorful": "^5.6.1",
    "react-hook-form": "^7.46.1",
    "react-hot-toast": "^2.4.0",
    "react-query": "^3.39.3",
    "react-select": "^5.7.3",
    "react-tiny-virtual-list": "^2.2.0",
    "redaxios": "^0.5.1",
    "replace-in-file": "^7.1.0",
    "replace-in-file-webpack-plugin": "^1.0.6",
    "swiper": "^11.1.3"
  },
  "devDependencies": {
    "@babel/core": "^7.18.2",
    "@babel/eslint-parser": "^7.22.9",
    "@babel/plugin-transform-runtime": "^7.18.5",
    "@babel/preset-env": "^7.18.2",
    "@babel/preset-react": "^7.17.12",
    "@babel/preset-typescript": "^7.22.11",
    "@babel/runtime": "^7.23.4",
    "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
    "@types/aos": "^3.0.4",
    "@types/gradient-parser": "^0.1.5",
    "@types/jquery": "^3.5.29",
    "@types/lodash": "^4.14.197",
    "@types/react": "^18.3.1",
    "@types/react-dom": "^18.3.0",
    "@types/react-router-dom": "^5.3.3",
    "@types/webpack-env": "^1.18.1",
    "@types/wordpress__api-fetch": "^3.23.1",
    "@types/wordpress__block-editor": "^11.5.1",
    "@types/wordpress__block-serialization-default-parser": "^3.2.1",
    "@types/wordpress__blocks": "^12.5.0",
    "@types/wordpress__components": "^23.0.1",
    "@types/wordpress__compose": "^6.1.0",
    "@types/wordpress__core-data": "^5.0.0",
    "@types/wordpress__data": "^7.0.0",
    "@types/wordpress__dom-ready": "^2.9.0",
    "@types/wordpress__edit-post": "^7.5.5",
    "@types/wordpress__hooks": "^2.11.0",
    "@types/wordpress__i18n": "^3.11.0",
    "@types/wordpress__keycodes": "^2.3.1",
    "@types/wordpress__media-utils": "^4.14.1",
    "@types/wordpress__notices": "^3.27.0",
    "@types/wordpress__url": "^2.14.0",
    "@typescript-eslint/eslint-plugin": "5.59.1",
    "@typescript-eslint/parser": "5.59.1",
    "@wordpress/api-fetch": "^5.2.6",
    "@wordpress/block-editor": "^8.0.3",
    "@wordpress/block-serialization-default-parser": "^4.22.0",
    "@wordpress/blocks": "^11.1.4",
    "@wordpress/components": "^27.5.0",
    "@wordpress/compose": "^5.0.6",
    "@wordpress/core-data": "^6.12.0",
    "@wordpress/data": "^9.10.0",
    "@wordpress/date": "^4.57.0",
    "@wordpress/dependency-extraction-webpack-plugin": "^3.5.0",
    "@wordpress/dom-ready": "^3.2.3",
    "@wordpress/edit-post": "^7.24.0",
    "@wordpress/editor": "^12.0.6",
    "@wordpress/element": "^5.13.0",
    "@wordpress/eslint-plugin": "^7.4.0",
    "@wordpress/hooks": "^3.2.2",
    "@wordpress/i18n": "^4.2.4",
    "@wordpress/keyboard-shortcuts": "^3.0.6",
    "@wordpress/keycodes": "^3.2.4",
    "@wordpress/media-utils": "^4.20.0",
    "@wordpress/notices": "^3.30.0",
    "@wordpress/plugins": "^6.9.0",
    "@wordpress/prettier-config": "^0.4.0",
    "@wordpress/server-side-render": "^4.10.0",
    "@wordpress/stylelint-config": "^19.1.0",
    "@wordpress/url": "^3.37.0",
    "autoprefixer": "^10.4.16",
    "babel-loader": "^8.2.5",
    "clean-webpack-plugin": "^4.0.0",
    "concurrently": "^8.2.2",
    "copy-webpack-plugin": "^11.0.0",
    "cross-env": "^7.0.3",
    "css-loader": "^6.7.1",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-config-wordpress": "^2.0.0",
    "eslint-plugin-import": "^2.28.0",
    "eslint-plugin-jest": "^21.6.1",
    "eslint-plugin-jsdoc": "^39.3.2",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-react": "^7.33.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-simple-import-sort": "^10.0.0",
    "eslint-plugin-wordpress": "^0.1.0",
    "eslint-webpack-plugin": "^3.1.1",
    "file-loader": "^6.2.0",
    "flow-bin": "^0.185.0",
    "fork-ts-checker-webpack-plugin": "^8.0.0",
    "grunt": "^1.4.1",
    "grunt-babel": "^8.0.0",
    "grunt-contrib-clean": "^2.0.0",
    "grunt-contrib-compress": "^1.6.0",
    "grunt-contrib-copy": "^1.0.0",
    "grunt-contrib-uglify": "^5.2.1",
    "grunt-exec": "^3.0.0",
    "grunt-postcss": "^0.9.0",
    "grunt-rtlcss": "^2.0.2",
    "husky": "^7.0.2",
    "jquery": "^3.7.1",
    "json-schema-to-ts": "^2.9.2",
    "lint-staged": "^11.1.2",
    "lodash": "^4.17.21",
    "mini-css-extract-plugin": "^2.6.0",
    "postcss": "^8.4.31",
    "postcss-loader": "^7.3.3",
    "prettier": "2.8.8",
    "prettier-plugin-organize-imports": "^3.2.3",
    "react": "^18.3.0-next-fecc288b7-20221025",
    "react-dom": "17.0.1",
    "react-refresh": "^0.14.0",
    "react-refresh-webpack-plugin": "^0.1.0",
    "react-router-dom": "^6.19.0",
    "remove-files-webpack-plugin": "^1.5.0",
    "request": "^2.88.2",
    "rimraf": "^5.0.5",
    "sass": "^1.52.3",
    "sass-loader": "^13.0.0",
    "style-loader": "^3.3.1",
    "stylelint": "^13.13.1",
    "ts-loader": "^9.4.4",
    "typescript": "4.9.5",
    "uglifyjs-webpack-plugin": "^2.2.0",
    "url-loader": "^4.1.1",
    "webpack": "^5.73.0",
    "webpack-bundle-analyzer": "^4.5.0",
    "webpack-cli": "^4.9.2",
    "webpack-dev-server": "^4.15.1",
    "webpackbar": "^5.0.2"
  },
  "lint-staged": {
    "*.php": [
      "php -d display_errors=1 -l",
      "composer run-script phpcs-pre-commit"
    ],
    "*.scss": [
      "stylelint --syntax=scss --fix"
    ],
    "!(*.build).{js,jsx}": [
      "eslint --fix"
    ]
  }
}
