chore(package): update all dependencies
This commit is contained in:
parent
e3ec03794a
commit
33ae81ce05
@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"comments": false,
|
|
||||||
"compact": true,
|
|
||||||
"plugins": [
|
|
||||||
"transform-runtime"
|
|
||||||
],
|
|
||||||
"presets": [
|
|
||||||
"stage-0",
|
|
||||||
"es2015"
|
|
||||||
]
|
|
||||||
}
|
|
@ -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
|
||||||
|
|
||||||
|
6
packages/xo-server-usage-report/.gitignore
vendored
6
packages/xo-server-usage-report/.gitignore
vendored
@ -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/*/
|
|
||||||
|
@ -2,7 +2,6 @@ language: node_js
|
|||||||
node_js:
|
node_js:
|
||||||
- 'stable'
|
- 'stable'
|
||||||
- '4'
|
- '4'
|
||||||
- '0.12'
|
|
||||||
|
|
||||||
# Use containers.
|
# Use containers.
|
||||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||||
|
@ -22,30 +22,27 @@
|
|||||||
"dist/"
|
"dist/"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.12"
|
"node": ">=4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-runtime": "^6.3.19"
|
"babel-runtime": "^6.3.19",
|
||||||
|
"lodash": "^4.16.2",
|
||||||
|
"promise-toolbox": "^0.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.3.17",
|
"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-plugin-transform-runtime": "^6.3.13",
|
||||||
"babel-preset-es2015": "^6.3.13",
|
"babel-preset-es2015": "^6.3.13",
|
||||||
"babel-preset-stage-0": "^6.3.13",
|
"babel-preset-stage-0": "^6.3.13",
|
||||||
"clarify": "^1.0.5",
|
"clarify": "^2.0.0",
|
||||||
"dependency-check": "^2.5.1",
|
"dependency-check": "^2.5.1",
|
||||||
"lodash.foreach": "^4.0.0",
|
"ghooks": "^1.3.2",
|
||||||
"lodash.isfinite": "^3.3.0",
|
"mocha": "^3.1.0",
|
||||||
"lodash.isnumber": "^3.0.3",
|
|
||||||
"lodash.map": "^4.1.0",
|
|
||||||
"lodash.sortby": "^4.1.0",
|
|
||||||
"mocha": "^2.3.4",
|
|
||||||
"must": "^0.13.1",
|
"must": "^0.13.1",
|
||||||
"nyc": "^5.2.0",
|
|
||||||
"promise-toolbox": "^0.1.1",
|
|
||||||
"source-map-support": "^0.4.0",
|
"source-map-support": "^0.4.0",
|
||||||
"standard": "^5.4.1",
|
"standard": "^8.2.0",
|
||||||
"trace": "^2.0.2"
|
"trace": "^2.0.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -56,12 +53,26 @@
|
|||||||
"lint": "standard",
|
"lint": "standard",
|
||||||
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
import forEach from 'lodash.foreach'
|
|
||||||
import { all } from 'promise-toolbox'
|
import { all } from 'promise-toolbox'
|
||||||
import sortBy from 'lodash.sortby'
|
import { forEach, isFinite, map, sortBy } from 'lodash'
|
||||||
import map from 'lodash.map'
|
|
||||||
import isFinite from 'lodash.isfinite'
|
|
||||||
|
|
||||||
export const configurationSchema = {
|
export const configurationSchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@ -8,6 +8,10 @@ import myLib from './'
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
describe('myLib', () => {
|
describe.skip('myLib', () => {
|
||||||
// TODO
|
it('does something', () => {
|
||||||
|
// TODO: some real tests.
|
||||||
|
|
||||||
|
expect(myLib).to.exists()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user