{
  "name": "shoplazza_pigeon",
  "version": "1.0.0",
  "description": "",
  "main": "main.js",
  "scripts": {
    "dev": "cross-env NODE_ENV=development webpack-dev-server",
    "build": "cross-env NODE_ENV=production webpack --hide-modules --config webpack.config.js",
    "build:analysis": "cross-env NODE_ENV=production ANALYSIS=1 webpack --config webpack.config.js",
    "test": "jest ./src",
    "test:watch": "jest --watch",
    "test:coverage": "jest --runInBand --coverage",
    "test:snapshot": "jest --updateSnapshot",
    "test:report": "jest --coverage && open ./coverage/lcov-report/index.html"
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -e $GIT_PARAMS",
      "pre-commit": "lint-staged && pretty-quick --staged"
    }
  },
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "git add"
    ]
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "config": {
    "commitizen": {
      "path": "node_modules/cz-conventional-changelog"
    }
  },
  "devDependencies": {
    "@babel/cli": "^7.5.5",
    "@babel/core": "^7.5.5",
    "@babel/plugin-proposal-class-properties": "^7.5.5",
    "@babel/plugin-proposal-decorators": "^7.4.4",
    "@babel/plugin-proposal-do-expressions": "^7.5.0",
    "@babel/plugin-proposal-export-default-from": "^7.5.2",
    "@babel/plugin-proposal-export-namespace-from": "^7.5.2",
    "@babel/plugin-proposal-function-sent": "^7.5.0",
    "@babel/plugin-proposal-json-strings": "^7.2.0",
    "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
    "@babel/plugin-proposal-numeric-separator": "^7.2.0",
    "@babel/plugin-proposal-optional-chaining": "^7.2.0",
    "@babel/plugin-proposal-pipeline-operator": "^7.5.0",
    "@babel/plugin-proposal-throw-expressions": "^7.2.0",
    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
    "@babel/plugin-syntax-import-meta": "^7.2.0",
    "@babel/plugin-transform-runtime": "^7.5.5",
    "@babel/preset-env": "^7.5.5",
    "@babel/preset-react": "^7.0.0",
    "@commitlint/cli": "^7.6.1",
    "@commitlint/config-conventional": "^7.6.0",
    "autoprefixer": "^9.6.1",
    "babel-core": "^7.0.0-bridge.0",
    "babel-eslint": "^10.0.2",
    "babel-jest": "^23.6.0",
    "babel-loader": "^8.0.6",
    "babel-plugin-import": "^1.12.0",
    "clean-webpack-plugin": "^1.0.1",
    "commitizen": "^3.1.2",
    "copy-webpack-plugin": "^4.6.0",
    "cross-env": "^5.2.0",
    "css-loader": "^2.1.0",
    "cz-conventional-changelog": "^2.1.0",
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-16": "^1.14.0",
    "enzyme-to-json": "^3.3.5",
    "eslint": "^5.16.0",
    "eslint-config-airbnb": "^17.1.1",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.14.3",
    "file-loader": "^3.0.1",
    "flush-promises": "^1.0.2",
    "happypack": "^5.0.1",
    "html-webpack-plugin": "^3.2.0",
    "husky": "^1.3.1",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^23.6.0",
    "jest-cli": "^23.6.0",
    "less": "^3.9.0",
    "less-loader": "^4.1.0",
    "lint-staged": "^8.2.1",
    "loader-utils": "^1.2.3",
    "mockdate": "^2.0.4",
    "npx": "^10.2.0",
    "nyc": "^13.1.0",
    "postcss-loader": "^3.0.0",
    "prettier": "^1.18.2",
    "pretty-quick": "^1.11.1",
    "raw-loader": "^1.0.0",
    "schema-utils": "^1.0.0",
    "style-loader": "^0.23.1",
    "uglifyjs-webpack-plugin": "^2.2.0",
    "url-loader": "^1.1.2",
    "webpack": "^4.38.0",
    "webpack-bundle-analyzer": "^3.4.1",
    "webpack-cli": "^3.3.6",
    "webpack-dev-server": "^3.7.2"
  },
  "dependencies": {
    "@ant-design/icons": "^1.2.1",
    "@tinymce/tinymce-react": "^3.3.0",
    "antd": "^3.20.7",
    "art-template": "^4.13.0",
    "art-template-loader": "^1.4.3",
    "axios": "^0.18.1",
    "classnames": "^2.2.6",
    "html5sortable": "^0.9.16",
    "jquery": "^3.4.1",
    "mobx": "^5.13.0",
    "mobx-react": "^5.4.4",
    "mobx-utils": "^5.4.1",
    "nprogress": "^0.2.0",
    "prop-types": "^15.7.2",
    "react": "^16.8.6",
    "react-color": "^2.17.3",
    "react-component-debounce": "0.0.4",
    "react-copy-to-clipboard": "^5.0.1",
    "react-data-grid": "^6.1.0",
    "react-data-grid-addons": "^6.1.0",
    "react-dom": "^16.8.6",
    "react-helmet": "^5.2.1",
    "react-intl": "^3.9.1",
    "react-router-dom": "^4.3.1",
    "shoplazza-sdk": "^1.6.11",
    "spark-md5": "^3.0.0"
  },
  "prettier": {
    "printWidth": 120,
    "singleQuote": true,
    "proseWrap": "never",
    "trailingComma": "none"
  },
  "jest": {
    "collectCoverage": false,
    "transform": {
      "^.+\\.(css|less)$": "./.jest/styleMock.js",
      "^.+\\.(jsx|js)?$": "<rootDir>/node_modules/babel-jest"
    },
    "moduleNameMapper": {
      "\\.(css|less|sass|scss)$": "identity-obj-proxy",
      "\\.(gif|ttf|eot|svg|png|jpg)$": "<rootDir>/.jest/fileMock.js",
      "~(.*)$": "<rootDir>/src/$1"
    },
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!**/node_modules/**",
      "!src/vendor/**/*.{js,jsx}",
      "!src/**/{models,assets}/**/*.{js,jsx}"
    ],
    "coverageReporters": [
      "text-summary",
      "text",
      "lcov",
      "json"
    ],
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "setupFiles": [
      "./.jest/setup.js"
    ],
    "testURL": "http://localhost",
    "transformIgnorePatterns": [
      "node_modules/(?!(html5sortable)/)"
    ]
  },
  "eslintIgnore": [
    "src/**/assets/**/*.js"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "header-max-length": [
        0,
        "always",
        200
      ],
      "subject-case": [
        0
      ]
    }
  },
  "eslintConfig": {
    "globals": {
      "module": false,
      "React": true
    },
    "env": {
      "browser": true,
      "es6": true,
      "amd": true,
      "jest": true
    },
    "extends": [
      "eslint:recommended",
      "plugin:react/recommended"
    ],
    "settings": {
      "react": {
        "createClass": "createReactClass",
        "pragma": "React",
        "version": "16.4"
      },
      "propWrapperFunctions": [
        "forbidExtraProps"
      ]
    },
    "parser": "babel-eslint",
    "parserOptions": {
      "ecmaFeatures": {
        "experimentalObjectRestSpread": true,
        "jsx": true,
        "legacyDecorators": true
      },
      "ecmaVersion": 2017,
      "sourceType": "module"
    },
    "plugins": [
      "react"
    ],
    "rules": {
      "no-debugger": "off",
      "indent": [
        0,
        2,
        {
          "SwitchCase": 1
        }
      ],
      "react/jsx-uses-vars": 2,
      "linebreak-style": [
        "error",
        "unix"
      ],
      "semi": 0,
      "no-unused-vars": [
        "error",
        {
          "args": "none"
        }
      ],
      "require-yield": "off",
      "no-cond-assign": "off",
      "react/display-name": 0,
      "react/jsx-no-target-blank": [
        0,
        {
          "enforceDynamicLinks": "always"
        }
      ]
    }
  },
  "babel": {
    "presets": [
      [
        "@babel/preset-env",
        {
          "targets": {
            "browsers": [
              "last 2 versions",
              "ie >= 9"
            ]
          }
        }
      ],
      "@babel/preset-react"
    ],
    "plugins": [
      [
        "@babel/plugin-proposal-decorators",
        {
          "legacy": true
        }
      ],
      "@babel/plugin-transform-runtime",
      "@babel/plugin-syntax-dynamic-import",
      [
        "@babel/plugin-proposal-class-properties",
        {
          "loose": true
        }
      ],
      "@babel/plugin-proposal-export-default-from",
      "@babel/plugin-proposal-logical-assignment-operators",
      [
        "@babel/plugin-proposal-optional-chaining",
        {
          "loose": false
        }
      ],
      [
        "@babel/plugin-proposal-pipeline-operator",
        {
          "proposal": "minimal"
        }
      ],
      [
        "@babel/plugin-proposal-nullish-coalescing-operator",
        {
          "loose": false
        }
      ],
      "@babel/plugin-proposal-do-expressions",
      [
        "import",
        {
          "libraryName": "antd",
          "style": true
        },
        "antd"
      ],
      [
        "import",
        {
          "libraryName": "shoplazza-sdk",
          "style": false
        },
        "shoplazza-sdk"
      ]
    ]
  }
}
