chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-09-29 12:38:18 +02:00
parent e3ec03794a
commit 33ae81ce05
7 changed files with 35 additions and 39 deletions

View File

@ -1,11 +0,0 @@
{
"comments": false,
"compact": true,
"plugins": [
"transform-runtime"
],
"presets": [
"stage-0",
"es2015"
]
}

View File

@ -41,7 +41,7 @@ indent_style = space
#
# Two spaces seems to be the standard most common style, at least in
# Node.js (http://nodeguide.com/style.html#tabs-vs-spaces).
[*.js]
[*.{js,jsx,ts,tsx}]
indent_size = 2
indent_style = space

View File

@ -1,9 +1,5 @@
/.nyc_output/
/bower_components/
/dist/
/node_modules/
npm-debug.log
npm-debug.log.*
!node_modules/*
node_modules/*/

View File

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

View File

@ -22,30 +22,27 @@
"dist/"
],
"engines": {
"node": ">=0.12"
"node": ">=4"
},
"dependencies": {
"babel-runtime": "^6.3.19"
"babel-runtime": "^6.3.19",
"lodash": "^4.16.2",
"promise-toolbox": "^0.5.1"
},
"devDependencies": {
"babel-cli": "^6.3.17",
"babel-eslint": "^5.0.0-beta6",
"babel-eslint": "^7.0.0",
"babel-plugin-lodash": "^3.2.9",
"babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"clarify": "^1.0.5",
"clarify": "^2.0.0",
"dependency-check": "^2.5.1",
"lodash.foreach": "^4.0.0",
"lodash.isfinite": "^3.3.0",
"lodash.isnumber": "^3.0.3",
"lodash.map": "^4.1.0",
"lodash.sortby": "^4.1.0",
"mocha": "^2.3.4",
"ghooks": "^1.3.2",
"mocha": "^3.1.0",
"must": "^0.13.1",
"nyc": "^5.2.0",
"promise-toolbox": "^0.1.1",
"source-map-support": "^0.4.0",
"standard": "^5.4.1",
"standard": "^8.2.0",
"trace": "^2.0.2"
},
"scripts": {
@ -56,12 +53,26 @@
"lint": "standard",
"posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build",
"test": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\""
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\""
},
"babel": {
"plugins": [
"lodash"
],
"presets": [
"es2015",
"stage-0"
]
},
"standard": {
"ignore": [
"dist/**"
"dist"
],
"parser": "babel-eslint"
},
"config": {
"ghooks": {
"commit-msg": "npm test"
}
}
}

View File

@ -1,8 +1,5 @@
import forEach from 'lodash.foreach'
import { all } from 'promise-toolbox'
import sortBy from 'lodash.sortby'
import map from 'lodash.map'
import isFinite from 'lodash.isfinite'
import { forEach, isFinite, map, sortBy } from 'lodash'
export const configurationSchema = {
type: 'object',

View File

@ -8,6 +8,10 @@ import myLib from './'
// ===================================================================
describe('myLib', () => {
// TODO
describe.skip('myLib', () => {
it('does something', () => {
// TODO: some real tests.
expect(myLib).to.exists()
})
})