chore(package): update all dependencies (except Bluebird)
This commit is contained in:
parent
c46c0018ea
commit
6564edcc32
@ -1,11 +0,0 @@
|
||||
{
|
||||
"comments": false,
|
||||
"compact": true,
|
||||
"optional": [
|
||||
"es7.asyncFunctions",
|
||||
"es7.decorators",
|
||||
"es7.exportExtensions",
|
||||
"es7.functionBind",
|
||||
"runtime"
|
||||
]
|
||||
}
|
@ -3,7 +3,6 @@ node_js:
|
||||
- 'stable'
|
||||
- '4'
|
||||
- '0.12'
|
||||
- '0.10'
|
||||
|
||||
# Use containers.
|
||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||
|
@ -29,21 +29,24 @@
|
||||
"dist/",
|
||||
".mocha.js"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^5.8.34",
|
||||
"babel-runtime": "^6.6.1",
|
||||
"blocked": "^1.1.0",
|
||||
"bluebird": "^2.9.21",
|
||||
"debug": "^2.1.3",
|
||||
"event-to-promise": "^0.4.0",
|
||||
"exec-promise": "^0.5.1",
|
||||
"event-to-promise": "^0.7.0",
|
||||
"exec-promise": "^0.6.1",
|
||||
"kindof": "^2.0.0",
|
||||
"lodash.filter": "^3.1.1",
|
||||
"lodash.find": "^3.2.1",
|
||||
"lodash.foreach": "^3.0.2",
|
||||
"lodash.isarray": "^3.0.2",
|
||||
"lodash.filter": "^4.3.0",
|
||||
"lodash.find": "^4.3.0",
|
||||
"lodash.foreach": "^4.2.0",
|
||||
"lodash.isarray": "^4.0.0",
|
||||
"lodash.isobject": "^3.0.1",
|
||||
"lodash.map": "^3.1.2",
|
||||
"lodash.startswith": "^3.0.1",
|
||||
"lodash.map": "^4.3.0",
|
||||
"lodash.startswith": "^4.0.1",
|
||||
"make-error": "^1.0.2",
|
||||
"minimist": "^1.1.1",
|
||||
"ms": "^0.7.1",
|
||||
@ -53,31 +56,49 @@
|
||||
"xo-collection": "^0.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "^5.8.34",
|
||||
"babel-eslint": "^4.1.5",
|
||||
"babel-cli": "^6.8.0",
|
||||
"babel-eslint": "^6.0.4",
|
||||
"babel-plugin-transform-runtime": "^6.8.0",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-preset-stage-0": "^6.5.0",
|
||||
"clarify": "^1.0.5",
|
||||
"dependency-check": "^2.5.1",
|
||||
"ghooks": "^1.2.1",
|
||||
"mocha": "^2.2.5",
|
||||
"must": "^0.13.1",
|
||||
"nyc": "^6.4.0",
|
||||
"source-map-support": "^0.3.3",
|
||||
"standard": "^5.1.0",
|
||||
"source-map-support": "^0.4.0",
|
||||
"standard": "^7.0.0",
|
||||
"trace": "^2.0.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "babel --source-maps --out-dir=dist/ src/",
|
||||
"dev": "babel --watch --source-maps --out-dir=dist/ src/",
|
||||
"lint": "standard",
|
||||
"build": "NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||
"depcheck": "dependency-check ./package.json",
|
||||
"dev": "babel --watch --source-maps --out-dir=dist/ src/",
|
||||
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
|
||||
"lint": "standard",
|
||||
"posttest": "npm run lint && npm run depcheck",
|
||||
"prepublish": "npm run build",
|
||||
"test": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\"",
|
||||
"test-dev": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\""
|
||||
"test": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\""
|
||||
},
|
||||
"babel": {
|
||||
"plugins": [
|
||||
"transform-runtime"
|
||||
],
|
||||
"presets": [
|
||||
"stage-0",
|
||||
"es2015"
|
||||
]
|
||||
},
|
||||
"standard": {
|
||||
"ignore": [
|
||||
"dist/**"
|
||||
"dist"
|
||||
],
|
||||
"parser": "babel-eslint"
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"commit-msg": "npm test"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ function required (name) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
const usage = `Usage: xen-api <url> <user> [<password>]`
|
||||
const usage = 'Usage: xen-api <url> <user> [<password>]'
|
||||
|
||||
const main = coroutine(function * (args) {
|
||||
const opts = minimist(args, {
|
||||
|
@ -103,8 +103,8 @@ function parseUrl (url) {
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
const SPECIAL_CHARS = {
|
||||
['\r']: '\\r',
|
||||
['\t']: '\\t'
|
||||
'\r': '\\r',
|
||||
'\t': '\\t'
|
||||
}
|
||||
const SPECIAL_CHARS_RE = new RegExp(
|
||||
Object.keys(SPECIAL_CHARS).join('|'),
|
||||
|
@ -1,17 +1,17 @@
|
||||
/* eslint-env mocha */
|
||||
|
||||
import {createClient, Xapi} from './'
|
||||
|
||||
import expect from 'must'
|
||||
|
||||
// ===================================================================
|
||||
|
||||
describe('createClient()', function () {
|
||||
it('is a function', function () {
|
||||
expect(createClient).to.be.a.function()
|
||||
})
|
||||
import myLib from './'
|
||||
|
||||
it.skip('returns an instance of Xapi', function () {
|
||||
expect(createClient('example.org')).to.be.a(Xapi)
|
||||
// ===================================================================
|
||||
|
||||
describe.skip('myLib', () => {
|
||||
it('does something', () => {
|
||||
// TODO: some real tests.
|
||||
|
||||
expect(myLib).to.exists()
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user