@mozaik/ext-time
Advanced tools
Comparing version 2.0.0-alpha.9 to 2.0.0-alpha.10
@@ -22,3 +22,3 @@ var _templateObject = _taggedTemplateLiteralLoose(['\n position: absolute;\n top: 50%;\n left: 50%;\n background: ', ';\n border: .5vmin solid ', ';\n width: ', 'px;\n height: ', 'px;\n border-radius: ', 'px;\n margin-top: ', 'px;\n margin-left: ', 'px;\n'], ['\n position: absolute;\n top: 50%;\n left: 50%;\n background: ', ';\n border: .5vmin solid ', ';\n width: ', 'px;\n height: ', 'px;\n border-radius: ', 'px;\n margin-top: ', 'px;\n margin-left: ', 'px;\n']), | ||
import moment from 'moment'; | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
import 'moment-timezone/builds/moment-timezone-with-data'; | ||
import styled from 'styled-components'; | ||
@@ -25,0 +25,0 @@ import ClockIcon from 'react-icons/lib/fa/clock-o'; |
@@ -14,3 +14,3 @@ var _templateObject = _taggedTemplateLiteralLoose(['\n padding: 3vmin;\n width: 100%;\n height: 100%;\n'], ['\n padding: 3vmin;\n width: 100%;\n height: 100%;\n']); | ||
import moment from 'moment'; | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
import 'moment-timezone/builds/moment-timezone-with-data'; | ||
import styled from 'styled-components'; | ||
@@ -17,0 +17,0 @@ import Measure from 'react-measure'; |
@@ -31,2 +31,4 @@ 'use strict'; | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
var _styledComponents = require('styled-components'); | ||
@@ -60,5 +62,2 @@ | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
var OuterCircle = _styledComponents2.default.div(_templateObject, function (props) { | ||
@@ -65,0 +64,0 @@ return props.colors.background; |
@@ -19,2 +19,4 @@ 'use strict'; | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
var _styledComponents = require('styled-components'); | ||
@@ -48,5 +50,2 @@ | ||
require('moment-timezone/builds/moment-timezone-with-data'); | ||
var Container = _styledComponents2.default.div(_templateObject); | ||
@@ -53,0 +52,0 @@ |
{ | ||
"name": "@mozaik/ext-time", | ||
"version": "2.0.0-alpha.9", | ||
"version": "2.0.0-alpha.10", | ||
"description": "Mozaik time widgets", | ||
@@ -73,4 +73,4 @@ "repository": { | ||
"format": "prettier --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --write 'src/**/*.js' 'test/**/*.js'", | ||
"prepublish": "npm run format && npm run build" | ||
"prepublish": "npm run format && npm run lint && npm run build" | ||
} | ||
} |
331034