chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-10-14 11:53:39 +02:00
parent 2c35ee11b3
commit 590f6cb7b3
9 changed files with 29 additions and 61 deletions

View File

@ -1,10 +1,9 @@
/.nyc_output/
/bower_components/
/dist/
/node_modules/
npm-debug.log
npm-debug.log.*
pnpm-debug.log
pnpm-debug.log.*
!node_modules/*
node_modules/*/
/plot.dat

View File

@ -1,5 +0,0 @@
Error.stackTraceLimit = 100
try { require('trace') } catch (_) {}
try { require('clarify') } catch (_) {}
try { require('source-map-support/register') } catch (_) {}

View File

@ -1 +0,0 @@
--require ./.mocha.js

View File

@ -1,8 +1,8 @@
language: node_js
node_js:
- 'stable'
- '6'
- '4'
- '0.12'
# Use containers.
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/

View File

@ -7,6 +7,7 @@ Tested with:
- Xen Server 5.6
- Xen Server 6.2
- Xen Server 6.5
- Xen Server 7
## Install

View File

@ -30,60 +30,60 @@
".mocha.js"
],
"engines": {
"node": ">=0.12"
"node": ">=4"
},
"dependencies": {
"babel-polyfill": "^6.8.0",
"blocked": "^1.1.0",
"clarify": "^2.0.0",
"debug": "^2.1.3",
"event-to-promise": "^0.7.0",
"exec-promise": "^0.6.1",
"kindof": "^2.0.0",
"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": "^4.3.0",
"lodash.startswith": "^4.0.1",
"lodash": "^4.16.4",
"make-error": "^1.0.2",
"minimist": "^1.1.1",
"ms": "^0.7.1",
"promise-toolbox": "^0.6.0",
"pw": "0.0.4",
"source-map-support": "^0.4.0",
"trace": "^2.0.1",
"xmlrpc": "^1.3.0",
"xo-collection": "^0.4.0"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-eslint": "^7.0.0",
"babel-preset-es2015": "^6.6.0",
"babel-plugin-lodash": "^3.2.9",
"babel-preset-babili": "^0.0.5",
"babel-preset-latest": "^6.16.0",
"babel-preset-stage-0": "^6.5.0",
"cross-env": "^3.1.2",
"dependency-check": "^2.5.1",
"ghooks": "^1.2.1",
"mocha": "^3.0.0",
"must": "^0.13.1",
"nyc": "^8.1.0",
"standard": "^8.0.0"
},
"scripts": {
"build": "NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"build": "cross-env 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\"",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard",
"plot": "gnuplot -p memory-test.gnu",
"posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build",
"test": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\""
"prepublish": "npm run build"
},
"babel": {
"env": {
"production": {
"comments": false,
"presets": [
"stage-0",
"es2015"
"babili"
]
}
},
"plugins": [
"lodash"
],
"presets": [
"latest",
"stage-0"
]
},
"standard": {

View File

@ -2,18 +2,14 @@
import 'babel-polyfill'
// Imports utils for better stacktraces.
import '../.mocha'
import blocked from 'blocked'
import createDebug from 'debug'
import eventToPromise from 'event-to-promise'
import execPromise from 'exec-promise'
import filter from 'lodash.filter'
import find from 'lodash.find'
import minimist from 'minimist'
import pw from 'pw'
import { asCallback, fromCallback } from 'promise-toolbox'
import { filter, find } from 'lodash'
import { start as createRepl } from 'repl'
import { createClient } from './'

View File

@ -1,15 +1,10 @@
import Collection from 'xo-collection'
import createDebug from 'debug'
import filter from 'lodash.filter'
import forEach from 'lodash.foreach'
import isArray from 'lodash.isarray'
import isObject from 'lodash.isobject'
import kindOf from 'kindof'
import map from 'lodash.map'
import ms from 'ms'
import startsWith from 'lodash.startswith'
import { BaseError } from 'make-error'
import { EventEmitter } from 'events'
import { filter, forEach, isArray, isObject, map, startsWith } from 'lodash'
import {
catchPlus as pCatch,
delay as pDelay,

View File

@ -1,17 +0,0 @@
/* eslint-env mocha */
import expect from 'must'
// ===================================================================
import myLib from './'
// ===================================================================
describe.skip('myLib', () => {
it('does something', () => {
// TODO: some real tests.
expect(myLib).to.exists()
})
})