lgaticaq/beerjs

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "beerjs-info",
  "version": "2.1.2",
  "description": "Get beerjs info (Chile)",
  "main": "src",
  "scripts": {
    "lint": "eslint .",
    "format": "prettier-standard 'src/**/*.js' 'test/**/*.js'",
    "precommit": "lint-staged",
    "pretest": "npm run lint -s && npm run format -s",
    "test": "istanbul cover _mocha",
    "release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && npm publish",
    "release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && npm publish",
    "release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && npm publish"
  },
  "engines": {
    "node": ">=6"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/lgaticaq/beerjs.git"
  },
  "keywords": [
    "beerjs",
    "chile"
  ],
  "author": "Leonardo Gatica <lgatica@protonmail.com> (https://about.me/lgatica)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/lgaticaq/beerjs/issues"
  },
  "homepage": "https://github.com/lgaticaq/beerjs#readme",
  "dependencies": {
    "node-fetch": "^1.7.1"
  },
  "devDependencies": {
    "chai": "4.4.0",
    "eslint": "5.16.0",
    "eslint-config-standard": "11.0.0",
    "eslint-plugin-import": "2.29.1",
    "eslint-plugin-node": "7.0.1",
    "eslint-plugin-promise": "3.8.0",
    "eslint-plugin-standard": "4.1.0",
    "generate-changelog": "1.8.0",
    "husky": "0.14.3",
    "istanbul": "0.4.5",
    "lint-staged": "7.3.0",
    "mocha": "5.2.0",
    "nock": "10.0.6",
    "prettier-standard": "8.0.1"
  },
  "eslintConfig": {
    "extends": "standard",
    "parserOptions": {
      "ecmaVersion": 2017
    },
    "env": {
      "node": true,
      "mocha": true,
      "browser": true,
      "amd": true,
      "es6": true
    },
    "rules": {
      "no-console": [
        "error"
      ]
    }
  },
  "lint-staged": {
    "src/**/*.js": [
      "eslint --fix",
      "prettier-standard",
      "git add"
    ],
    "test/**/*.js": [
      "eslint --fix",
      "prettier-standard",
      "git add"
    ]
  },
  "tonicExampleFilename": "example.js"
}