{
  "name": "@megalo/api",
  "version": "0.5.7",
  "description": "重新封装各个端中的API，由 megalo 统一对外抛出方法名。目前微信小程序端提供的 API 最为丰富，所以 API 名称以微信小程序为准。",
  "main": "index.js",
  "scripts": {
    "lint": "eslint ./ --fix",
    "release": "standard-version",
    "release:pre": "npm run release -- --prerelease",
    "release:patch": "npm run release -- --release-as patch",
    "release:minor": "npm run release -- --release-as minor",
    "release:major": "npm run release -- --release-as major",
    "publish": "git push --follow-tags origin master && npm publish"
  },
  "lint-staged": {
    "./**/*.js": [
      "eslint --fix --quiet",
      "git add"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/megalojs/megalo-api.git"
  },
  "keywords": [
    "megalo",
    "alipay",
    "swan",
    "wechat",
    "toutiao",
    "web"
  ],
  "author": "kaola-fed",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/megalojs/megalo-api/issues"
  },
  "homepage": "https://github.com/megalojs/megalo-api#readme",
  "dependencies": {
    "axios": "^0.19.0",
    "mobile-detect": "^1.4.3"
  },
  "devDependencies": {
    "@commitlint/cli": "^8.1.0",
    "@commitlint/config-conventional": "^7.1.2",
    "babel-eslint": "^10.0.1",
    "commitizen": "^4.0.3",
    "cz-conventional-changelog": "^2.1.0",
    "eslint": "^5.10.0",
    "husky": "^1.2.0",
    "lint-staged": "^8.1.0",
    "standard-version": "^4.4.0"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "commit-msg": "commitlint -e $GIT_PARAMS"
    }
  }
}
