travelhubapi/travelhubapi-node-sdk

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "travehubapi-sdk",
  "version": "0.0.1",
  "author": "Marcos Rava <marcos.rava@flytour.com.br>",
  "description": "Node SDK for TravelhubApi",
  "license": "MIT",
  "private": false,
  "main": "build",
  "engines": {
    "node": "~0.6.x"
  },
  "keywords": [
    "travelhub",
    "travelhubapi",
    "hotel",
    "travel",
    "sdk"
  ],
  "scripts": {
    "start": "npm run build && node build",
    "dev": "nodemon --exec 'npm run lint && npm run test-es6' -i build ",
    "test": "npm run build && cross-env NODE_PATH=./build npm run test-mocha",
    "test-mocha": "mocha --compilers js:babel-register",
    "test-es6": "cross-env NODE_PATH=./src  npm run test-mocha",
    "postinstall": "npm run check-dependencies",
    "check-dependencies": "nsp check",
    "lint": "eslint src test examples",
    "examples": "node -r dotenv/config examples/src",
    "examples-dev": "nodemon --exec 'npm run lint && npm run examples'",
    "coverage": "cross-env NODE_PATH=./src babel-node ./node_modules/.bin/babel-istanbul cover _mocha",
    "climate-coverage": "npm run coverage && codeclimate-test-reporter < coverage/lcov.info",
    "climate-coverage-dotenv": "npm run coverage && node -r dotenv/config node_modules/codeclimate-test-reporter/bin/codeclimate.js < coverage/lcov.info",
    "build": "npm run lint && mkdir -p build && cross-env NODE_PATH=./build babel src --out-dir build"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/travelhubapi/travelhubapi-node-sdk"
  },
  "config": {
    "pre-git": {
      "pre-commit": [
        "npm run lint"
      ],
      "post-commit": [
        "git status"
      ],
      "pre-push": [
        "npm test"
      ]
    }
  },
  "babel": {
    "presets": [
      "es2015",
      "stage-1"
    ],
    "plugins": [
      "add-module-exports"
    ]
  },
  "devDependencies": {
    "babel-cli": "^6.11.4",
    "babel-core": "^6.3.26",
    "babel-eslint": "^6.1.2",
    "babel-istanbul": "^0.11.0",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-stage-1": "^6.13.0",
    "codeclimate-test-reporter": "^0.3.3",
    "cross-env": "^2.0.0",
    "dotenv": "^2.0.0",
    "eslint": "^3.7.1",
    "eslint-config-airbnb": "^12.0.0",
    "eslint-config-walmart": "^1.0.1",
    "eslint-plugin-filenames": "^1.1.0",
    "eslint-plugin-import": "^1.16.0",
    "eslint-plugin-jsx-a11y": "^2.2.2",
    "eslint-plugin-react": "^6.3.0",
    "expect.js": "^0.3.1",
    "mocha": "^3.0.2",
    "nock": "^8.0.0",
    "nodemon": "^1.10.2",
    "nsp": "^2.6.1",
    "pre-git": "^3.10.0",
    "require-dir": "^0.3.0"
  },
  "dependencies": {
    "bluebird": "^3.4.3",
    "request-promise": "^4.1.1",
    "simple-oauth2": "^1.0.0"
  }
}