{
  "private": true,
  "name": "{{ name }}",
  "version": "{{ version }}",
  "<Settings>": "------------------------------ Application Settings ------------------------------",
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "babel": {
    "presets": [
      [
        "env",
        "airbnb"
      ]
    ],
    "plugins": [
      "transform-decorators-legacy",
      "transform-class-properties",
      "transform-react-jsx",
      ["module-resolver", {
        "root": ["./src"]
      }],
      [
        "import",
        {
          "libraryName": "antd",
          "libraryDirectory": "es",
          "style": true
        }
      ]
    ]
  },
  "eslintConfig": {
    "root": true,
    "parser": "babel-eslint",
    "env": {
      "browser": true,
      "node": true,
      "jest/globals": true
    },
    "extends": "airbnb",
    "plugins": [
      "html",
      "jest"
    ],
    "rules": {
      "semi": [
        "error",
        "never"
      ]
    },
    "settings": {
      "import/resolver": {
        "babel-module": {
          "root": [
            "./src"
          ]
        }
      }
    }
  },
  "lint-staged": {
    "src/**/*.{css,less,scss}": [
      "prettier-standard",
      "git add"
    ]
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!**/src/index.js",
      "!**/src/setupTests.js"
    ]
  },
  "</Settings>": "------------------------ End of Application Settings ------------------------------",
  "scripts": {
    "precommit": "lint-staged",
    "prebuild": "npm run clean",
    "commit": "git add . && git-cz",
    "commitmsg": "commitlint -e $GIT_PARAMS",
    "clean": "rimraf dist",
    "build": "NODE_ENV=production parcel build public/index.html --public-url ./",
    "lint": "eslint --ext .jsx,.js src",
    "start": "NODE_ENV=development parcel public/index.html",
    "pretest": "rimraf coverage",
    "test": "cross-env NODE_ENV=test react-app-rewired test --coverage --env=jsdom"
  }
}
