chore(package): update dependencies
This commit is contained in:
parent
18ca6b935c
commit
be9eb8ce91
@ -1,12 +1,12 @@
|
||||
module.exports = {
|
||||
extends: ['standard', 'standard-jsx'],
|
||||
globals: {
|
||||
__DEV__: true
|
||||
__DEV__: true,
|
||||
},
|
||||
parser: 'babel-eslint',
|
||||
rules: {
|
||||
'comma-dangle': ['error', 'always-multiline'],
|
||||
'no-var': 'error',
|
||||
'prefer-const': 'error'
|
||||
}
|
||||
'prefer-const': 'error',
|
||||
},
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
semi: false,
|
||||
singleQuote: true
|
||||
singleQuote: true,
|
||||
}
|
||||
|
30
package.json
30
package.json
@ -34,7 +34,7 @@
|
||||
"@nraynaud/novnc": "0.6.1",
|
||||
"ansi_up": "^2.0.2",
|
||||
"asap": "^2.0.6",
|
||||
"babel-eslint": "^8.0.2",
|
||||
"babel-eslint": "^8.0.3",
|
||||
"babel-plugin-dev": "^1.0.0",
|
||||
"babel-plugin-lodash": "^3.2.11",
|
||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
||||
@ -58,12 +58,12 @@
|
||||
"chartist-plugin-tooltip": "0.0.11",
|
||||
"classnames": "^2.2.3",
|
||||
"cookies-js": "^1.2.2",
|
||||
"d3": "^4.11.0",
|
||||
"dependency-check": "^2.5.1",
|
||||
"d3": "^4.12.0",
|
||||
"dependency-check": "^2.9.2",
|
||||
"enzyme": "^3.1.1",
|
||||
"enzyme-adapter-react-15": "^1.0.5",
|
||||
"enzyme-to-json": "^3.2.2",
|
||||
"eslint": "^4.11.0",
|
||||
"enzyme-to-json": "^3.3.0",
|
||||
"eslint": "^4.13.1",
|
||||
"eslint-config-standard": "^10.2.1",
|
||||
"eslint-config-standard-jsx": "^4.0.2",
|
||||
"eslint-plugin-import": "^2.8.0",
|
||||
@ -87,25 +87,25 @@
|
||||
"gulp-sourcemaps": "^2.2.3",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"gulp-watch": "^4.3.5",
|
||||
"human-format": "^0.9.0",
|
||||
"human-format": "^0.9.2",
|
||||
"husky": "^0.14.3",
|
||||
"immutable": "^3.8.2",
|
||||
"index-modules": "^0.3.0",
|
||||
"is-ip": "^2.0.0",
|
||||
"jest": "^21.2.1",
|
||||
"jest": "^22.0.0",
|
||||
"jsonrpc-websocket-client": "^0.2.0",
|
||||
"kindof": "^2.0.0",
|
||||
"later": "^1.2.0",
|
||||
"lint-staged": "^5.0.0",
|
||||
"lint-staged": "^6.0.0",
|
||||
"lodash": "^4.6.1",
|
||||
"loose-envify": "^1.1.0",
|
||||
"make-error": "^1.2.1",
|
||||
"marked": "^0.3.5",
|
||||
"modular-css": "^7.0.0",
|
||||
"moment": "^2.19.2",
|
||||
"marked": "^0.3.7",
|
||||
"modular-css": "^7.2.0",
|
||||
"moment": "^2.20.0",
|
||||
"moment-timezone": "^0.5.14",
|
||||
"notifyjs": "^3.0.0",
|
||||
"prettier": "^1.9.1",
|
||||
"prettier": "^1.9.2",
|
||||
"promise-toolbox": "^0.9.5",
|
||||
"random-password": "^0.1.2",
|
||||
"react": "^15.4.1",
|
||||
@ -125,7 +125,7 @@
|
||||
"react-overlays": "^0.8.3",
|
||||
"react-redux": "^5.0.6",
|
||||
"react-router": "^3.0.0",
|
||||
"react-select": "^1.0.0-rc.10",
|
||||
"react-select": "^1.1.0",
|
||||
"react-shortcuts": "^2.0.0",
|
||||
"react-sparklines": "1.6.0",
|
||||
"react-test-renderer": "^15.6.2",
|
||||
@ -138,9 +138,9 @@
|
||||
"redux-thunk": "^2.0.1",
|
||||
"reselect": "^2.5.4",
|
||||
"semver": "^5.4.1",
|
||||
"styled-components": "^2.2.3",
|
||||
"styled-components": "^2.3.0",
|
||||
"tar-stream": "^1.5.5",
|
||||
"uglify-es": "^3.1.10",
|
||||
"uglify-es": "^3.2.2",
|
||||
"uncontrollable-input": "^0.0.1",
|
||||
"url-parse": "^1.2.0",
|
||||
"vinyl": "^2.1.0",
|
||||
|
@ -225,14 +225,14 @@ export default class XoParallelChart extends Component {
|
||||
.attr('transform', d => `translate(${x(d)})`)
|
||||
|
||||
// 4. Draw titles.
|
||||
;columns
|
||||
columns
|
||||
.append('text')
|
||||
.text(columnId => labels[columnId])
|
||||
.attr('y', -50)
|
||||
::setStyles(COLUMN_TITLE_STYLE)
|
||||
|
||||
// 5. Draw axis.
|
||||
;columns
|
||||
columns
|
||||
.append('g')
|
||||
.each((columnId, axisId, axes) => {
|
||||
const axis = d3
|
||||
@ -262,7 +262,7 @@ export default class XoParallelChart extends Component {
|
||||
])
|
||||
)
|
||||
)
|
||||
;svg
|
||||
svg
|
||||
.append('g')
|
||||
.attr('class', 'linesContainer')
|
||||
::setStyles(LINES_CONTAINER_STYLE)
|
||||
|
@ -186,7 +186,7 @@ class XoWeekChart extends Component {
|
||||
this._drawHorizonArea(props.data, props.maxValue)
|
||||
|
||||
// 3. Update x axis.
|
||||
;svg
|
||||
svg
|
||||
.select('.x-axis')
|
||||
.call(this._xAxis)
|
||||
.attr('transform', `translate(0, ${props.chartHeight})`)
|
||||
@ -246,19 +246,19 @@ class XoWeekChart extends Component {
|
||||
.select(this.refs.chart)
|
||||
.append('svg')
|
||||
.attr('transform', `translate(${HORIZON_AREA_MARGIN}, 0)`))
|
||||
;svg
|
||||
svg
|
||||
.append('g')
|
||||
.attr('class', 'x-axis')
|
||||
::setStyles(X_AXIS_STYLE)
|
||||
|
||||
svg.append('g').attr('class', 'horizon-area')
|
||||
;svg
|
||||
svg
|
||||
.append('text')
|
||||
.attr('class', 'label')
|
||||
::setStyles(LABEL_STYLE)
|
||||
|
||||
// Tooltip ---------------------------------------------
|
||||
;svg
|
||||
svg
|
||||
.append('rect')
|
||||
.attr('class', 'mouse-area')
|
||||
.on('mousemove', this._handleMouseMove)
|
||||
@ -268,12 +268,12 @@ class XoWeekChart extends Component {
|
||||
.append('g')
|
||||
.attr('class', 'hover-container')
|
||||
::setStyles('pointer-events', 'none')
|
||||
;hover
|
||||
hover
|
||||
.append('line')
|
||||
.attr('class', 'hover-line')
|
||||
.attr('y1', 0)
|
||||
::setStyles(HOVER_LINE_STYLE)
|
||||
;hover
|
||||
hover
|
||||
.append('text')
|
||||
.attr('class', 'hover-text')
|
||||
::setStyles(HOVER_TEXT_STYLE)
|
||||
|
@ -55,7 +55,7 @@ class Plugin extends Component {
|
||||
const method = event.target.checked
|
||||
? enablePluginAutoload
|
||||
: disablePluginAutoload
|
||||
;method(this.props.id)::lastly(() => {
|
||||
method(this.props.id)::lastly(() => {
|
||||
this._updateAutoload = false
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user