chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-09-29 14:16:47 +02:00
parent 7fa1923400
commit 74fba76b85
6 changed files with 40 additions and 36 deletions

View File

@ -1,11 +0,0 @@
{
"comments": false,
"compact": true,
"optional": [
"es7.asyncFunctions",
"es7.decorators",
"es7.exportExtensions",
"es7.functionBind",
"runtime"
]
}

View File

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

View File

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

View File

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

View File

@ -26,39 +26,56 @@
"dist/" "dist/"
], ],
"engines": { "engines": {
"node": ">=0.12" "node": ">=4"
}, },
"dependencies": { "dependencies": {
"babel-runtime": "^5.8.34", "babel-runtime": "^6.11.6",
"event-to-promise": "^0.6.0", "event-to-promise": "^0.7.0",
"node-xmpp-client": "^3.0.0" "node-xmpp-client": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"babel": "^5.8.34", "babel-cli": "^6.16.0",
"babel-eslint": "^4.1.6", "babel-eslint": "^7.0.0",
"clarify": "^1.0.5", "babel-plugin-lodash": "^3.2.9",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"clarify": "^2.0.0",
"dependency-check": "^2.5.1", "dependency-check": "^2.5.1",
"mocha": "^2.3.4", "ghooks": "^1.3.2",
"mocha": "^3.1.0",
"must": "^0.13.1", "must": "^0.13.1",
"nyc": "^3.2.2", "source-map-support": "^0.4.3",
"source-map-support": "^0.3.3", "standard": "^8.2.0",
"standard": "^5.4.1",
"trace": "^2.0.1" "trace": "^2.0.1"
}, },
"scripts": { "scripts": {
"build": "babel --source-maps --out-dir=dist/ src/", "build": "NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"dev": "babel --watch --source-maps --out-dir=dist/ src/", "depcheck": "dependency-check ./package.json",
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"", "dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
"lint": "standard", "lint": "standard",
"depcheck": "dependency-check ./package.json",
"posttest": "npm run lint && npm run depcheck", "posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build", "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": { "standard": {
"ignore": [ "ignore": [
"dist/**" "dist"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
},
"config": {
"ghooks": {
"commit-msg": "npm test"
}
} }
} }

View File

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