react-github-fork-ribbon
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -1,3 +0,3 @@ | ||
{"F:\\workspace_react\\react-github-fork-ribbon\\src\\index.js": {"path":"F:\\workspace_react\\react-github-fork-ribbon\\src\\index.js","statementMap":{"0":{"start":{"line":8,"column":24},"end":{"line":13,"column":1}},"1":{"start":{"line":15,"column":21},"end":{"line":20,"column":1}},"2":{"start":{"line":22,"column":25},"end":{"line":56,"column":1}},"3":{"start":{"line":24,"column":24},"end":{"line":24,"column":108}},"4":{"start":{"line":25,"column":21},"end":{"line":25,"column":64}},"5":{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":23}},"7":{"start":{"line":31,"column":22},"end":{"line":35,"column":3}},"8":{"start":{"line":37,"column":23},"end":{"line":40,"column":3}},"9":{"start":{"line":42,"column":2},"end":{"line":55,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":22,"column":25},"end":{"line":22,"column":26}},"loc":{"start":{"line":22,"column":100},"end":{"line":56,"column":1}},"line":22}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":45}},"type":"default-arg","locations":[{"start":{"line":22,"column":38},"end":{"line":22,"column":45}}],"line":22},"1":{"loc":{"start":{"line":22,"column":61},"end":{"line":22,"column":74}},"type":"default-arg","locations":[{"start":{"line":22,"column":69},"end":{"line":22,"column":74}}],"line":22},"2":{"loc":{"start":{"line":24,"column":24},"end":{"line":24,"column":108}},"type":"binary-expr","locations":[{"start":{"line":24,"column":24},"end":{"line":24,"column":49}},{"start":{"line":24,"column":53},"end":{"line":24,"column":108}}],"line":24},"3":{"loc":{"start":{"line":25,"column":21},"end":{"line":25,"column":64}},"type":"binary-expr","locations":[{"start":{"line":25,"column":21},"end":{"line":25,"column":40}},{"start":{"line":25,"column":44},"end":{"line":25,"column":64}}],"line":25},"4":{"loc":{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},{"start":{"line":27,"column":2},"end":{"line":29,"column":3}}],"line":27}},"s":{"0":1,"1":1,"2":1,"3":11,"4":11,"5":11,"6":8,"7":11,"8":11,"9":11},"f":{"0":11},"b":{"0":[6],"1":[6],"2":[11,1],"3":[11,1],"4":[8,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9b038f6420936af28f082a3369a519187027237d"} | ||
,"F:\\workspace_react\\react-github-fork-ribbon\\src\\ribbonStyle.js": {"path":"F:\\workspace_react\\react-github-fork-ribbon\\src\\ribbonStyle.js","statementMap":{"0":{"start":{"line":7,"column":27},"end":{"line":121,"column":1}},"1":{"start":{"line":123,"column":34},"end":{"line":160,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c5a40c4a0a87f3ecea4975e24b3746f95925dd84"} | ||
{"/Users/Lee/Documents/workspace_react/react-github-fork-ribbon/src/index.js": {"path":"/Users/Lee/Documents/workspace_react/react-github-fork-ribbon/src/index.js","statementMap":{"0":{"start":{"line":8,"column":24},"end":{"line":13,"column":1}},"1":{"start":{"line":15,"column":21},"end":{"line":20,"column":1}},"2":{"start":{"line":22,"column":25},"end":{"line":56,"column":1}},"3":{"start":{"line":24,"column":24},"end":{"line":24,"column":108}},"4":{"start":{"line":25,"column":21},"end":{"line":25,"column":64}},"5":{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":23}},"7":{"start":{"line":31,"column":22},"end":{"line":35,"column":3}},"8":{"start":{"line":37,"column":23},"end":{"line":40,"column":3}},"9":{"start":{"line":42,"column":2},"end":{"line":55,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":22,"column":25},"end":{"line":22,"column":26}},"loc":{"start":{"line":22,"column":100},"end":{"line":56,"column":1}},"line":22}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":27},"end":{"line":22,"column":45}},"type":"default-arg","locations":[{"start":{"line":22,"column":38},"end":{"line":22,"column":45}}],"line":22},"1":{"loc":{"start":{"line":22,"column":61},"end":{"line":22,"column":74}},"type":"default-arg","locations":[{"start":{"line":22,"column":69},"end":{"line":22,"column":74}}],"line":22},"2":{"loc":{"start":{"line":24,"column":24},"end":{"line":24,"column":108}},"type":"binary-expr","locations":[{"start":{"line":24,"column":24},"end":{"line":24,"column":49}},{"start":{"line":24,"column":53},"end":{"line":24,"column":108}}],"line":24},"3":{"loc":{"start":{"line":25,"column":21},"end":{"line":25,"column":64}},"type":"binary-expr","locations":[{"start":{"line":25,"column":21},"end":{"line":25,"column":40}},{"start":{"line":25,"column":44},"end":{"line":25,"column":64}}],"line":25},"4":{"loc":{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":29,"column":3}},{"start":{"line":27,"column":2},"end":{"line":29,"column":3}}],"line":27}},"s":{"0":1,"1":1,"2":1,"3":11,"4":11,"5":11,"6":8,"7":11,"8":11,"9":11},"f":{"0":11},"b":{"0":[6],"1":[6],"2":[11,1],"3":[11,1],"4":[8,3]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"f73e9404ec15ee8552fbd088f3795da54dc626bd"} | ||
,"/Users/Lee/Documents/workspace_react/react-github-fork-ribbon/src/ribbonStyle.js": {"path":"/Users/Lee/Documents/workspace_react/react-github-fork-ribbon/src/ribbonStyle.js","statementMap":{"0":{"start":{"line":7,"column":27},"end":{"line":121,"column":1}},"1":{"start":{"line":123,"column":34},"end":{"line":160,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fa310c5d590b5682438dd0469f88acf1e744c3eb"} | ||
} |
@@ -35,11 +35,11 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
var GitHubForkRibbon = function GitHubForkRibbon() { | ||
var _props = undefined.props, | ||
_props$position = _props.position, | ||
position = _props$position === undefined ? 'right' : _props$position, | ||
href = _props.href, | ||
target = _props.target, | ||
_props$color = _props.color, | ||
color = _props$color === undefined ? 'red' : _props$color, | ||
other = _objectWithoutProperties(_props, ['position', 'href', 'target', 'color']); | ||
var GitHubForkRibbon = function GitHubForkRibbon(_ref) { | ||
var _ref$position = _ref.position, | ||
position = _ref$position === undefined ? 'right' : _ref$position, | ||
href = _ref.href, | ||
target = _ref.target, | ||
_ref$color = _ref.color, | ||
color = _ref$color === undefined ? 'red' : _ref$color, | ||
children = _ref.children, | ||
other = _objectWithoutProperties(_ref, ['position', 'href', 'target', 'color', 'children']); | ||
@@ -53,5 +53,5 @@ var positionStyle = positionMapping[position] || [_ribbonStyle.RibbonStyle.rightStyle, _ribbonStyle.RibbonStyleWrapper.rightStyle]; | ||
undefined.ribbonStyle = _extends({}, _ribbonStyle.RibbonStyle.baseStyle, positionStyle[0], colorStyle); | ||
var ribbonStyle = _extends({}, _ribbonStyle.RibbonStyle.baseStyle, positionStyle[0], colorStyle); | ||
undefined.wrapperStyle = _extends({}, _ribbonStyle.RibbonStyleWrapper.baseStyle, positionStyle[1]); | ||
var wrapperStyle = _extends({}, _ribbonStyle.RibbonStyleWrapper.baseStyle, positionStyle[1]); | ||
@@ -62,7 +62,7 @@ return _react2.default.createElement( | ||
className: 'github-fork-ribbon-wrapper ' + position, | ||
style: undefined.wrapperStyle }), | ||
style: wrapperStyle }), | ||
_react2.default.createElement( | ||
'div', | ||
{ className: 'github-fork-ribbon', | ||
style: undefined.ribbonStyle }, | ||
style: ribbonStyle }, | ||
_react2.default.createElement( | ||
@@ -73,3 +73,3 @@ 'a', | ||
style: _ribbonStyle.RibbonStyle.urlStyle }, | ||
undefined.props.children | ||
children | ||
) | ||
@@ -95,3 +95,3 @@ ) | ||
*/ | ||
var GitHubForkRibbon = exports.GitHubForkRibbon = { | ||
var RibbonStyle = exports.RibbonStyle = { | ||
@@ -212,3 +212,3 @@ baseStyle: { | ||
var GitHubForkRibbonWrapper = exports.GitHubForkRibbonWrapper = { | ||
var RibbonStyleWrapper = exports.RibbonStyleWrapper = { | ||
@@ -215,0 +215,0 @@ baseStyle: { |
@@ -1,1 +0,1 @@ | ||
!function t(e,o,r){function n(l,a){if(!o[l]){if(!e[l]){var b="function"==typeof require&&require;if(!a&&b)return b(l,!0);if(i)return i(l,!0);var d=new Error("Cannot find module '"+l+"'");throw d.code="MODULE_NOT_FOUND",d}var f=o[l]={exports:{}};e[l][0].call(f.exports,function(t){var o=e[l][1][t];return n(o?o:t)},f,f.exports,t,e,o,r)}return o[l].exports}for(var i="function"==typeof require&&require,l=0;l<r.length;l++)n(r[l]);return n}({1:[function(t,e,o){(function(e){"use strict";function r(t,e){var o={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}Object.defineProperty(o,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])}return t},i=window.React,l=function(t){return t&&t.__esModule?t:{default:t}}(i),a=t("./ribbonStyle"),b={left:[a.RibbonStyle.leftStyle,a.RibbonStyleWrapper.leftStyle],right:[a.RibbonStyle.rightStyle,a.RibbonStyleWrapper.rightStyle],"left-bottom":[a.RibbonStyle.leftBottomStyle,a.RibbonStyleWrapper.leftBottomStyle],"right-bottom":[a.RibbonStyle.rightBottomStyle,a.RibbonStyleWrapper.rightBottomStyle]},d={red:a.RibbonStyle.redColor,orange:a.RibbonStyle.orangeColor,black:a.RibbonStyle.blackColor,green:a.RibbonStyle.greenColor},f=function(){var t=(void 0).props,e=t.position,o=void 0===e?"right":e,i=t.href,f=t.target,p=t.color,g=void 0===p?"red":p,s=r(t,["position","href","target","color"]),y=b[o]||[a.RibbonStyle.rightStyle,a.RibbonStyleWrapper.rightStyle],u=d[g]||a.RibbonStyle.redColor;return y[0]===a.RibbonStyle.rightStyle&&(o="right"),(void 0).ribbonStyle=n({},a.RibbonStyle.baseStyle,y[0],u),(void 0).wrapperStyle=n({},a.RibbonStyleWrapper.baseStyle,y[1]),l.default.createElement("div",n({},s,{className:"github-fork-ribbon-wrapper "+o,style:(void 0).wrapperStyle}),l.default.createElement("div",{className:"github-fork-ribbon",style:(void 0).ribbonStyle},l.default.createElement("a",{href:i,target:f,style:a.RibbonStyle.urlStyle},(void 0).props.children)))};o.default=e.RibbonStyle=f}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ribbonStyle":2}],2:[function(t,e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});o.GitHubForkRibbon={baseStyle:{position:"absolute",padding:"2px 0",backgroundColor:"#a00",backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15))",WebkitBoxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",MozBoxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",boxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",font:'700 13px "Helvetica Neue", Helvetica, Arial, sans-serif',zIndex:"9999",pointerEvents:"auto"},urlStyle:{color:"#fff",textDecoration:"none",textShadow:"0 -1px rgba(0, 0, 0, 0.5)",textAlign:"center",width:"200px",lineHeight:"20px",display:"inline-block",padding:"2px 0",borderWidth:"1px 0",borderStyle:"dotted",borderColor:"rgba(255, 255, 255, 0.7)"},redColor:{backgroundColor:"#a00"},orangeColor:{backgroundColor:"#f80"},blackColor:{backgroundColor:"#333"},greenColor:{backgroundColor:"#090"},leftStyle:{top:"42px",left:"-43px",WebkitTransform:"rotate(-45deg)",MozTransform:"rotate(-45deg)",msTransform:"rotate(-45deg)",OTransform:"rotate(-45deg)",transform:"rotate(-45deg)"},rightStyle:{top:"42px",right:"-43px",WebkitTransform:"rotate(45deg)",MozTransform:"rotate(45deg)",msTransform:"rotate(45deg)",OTransform:"rotate(45deg)",transform:"rotate(45deg)"},leftBottomStyle:{top:"80px",left:"-43px",WebkitTransform:"rotate(45deg)",MozTransform:"rotate(45deg)",msTransform:"rotate(45deg)",OTransform:"rotate(45deg)",transform:"rotate(45deg)"},rightBottomStyle:{top:"80px",right:"-43px",WebkitTransform:"rotate(-45deg)",MozTransform:"rotate(-45deg)",msTransform:"rotate(-45deg)",OTransform:"rotate(-45deg)",transform:"rotate(-45deg)"}},o.GitHubForkRibbonWrapper={baseStyle:{width:"150px",height:"150px",position:"absolute",overflow:"hidden",top:0,zIndex:"9999",pointerEvents:"none"},fixedStyle:{position:"fixed"},leftStyle:{left:0},rightStyle:{right:0},leftBottomStyle:{position:"fixed",top:"inherit",bottom:0,left:0},rightBottomStyle:{position:"fixed",top:"inherit",bottom:0,right:0}}},{}]},{},[1]); | ||
!function t(e,o,r){function n(l,a){if(!o[l]){if(!e[l]){var b="function"==typeof require&&require;if(!a&&b)return b(l,!0);if(i)return i(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var d=o[l]={exports:{}};e[l][0].call(d.exports,function(t){var o=e[l][1][t];return n(o?o:t)},d,d.exports,t,e,o,r)}return o[l].exports}for(var i="function"==typeof require&&require,l=0;l<r.length;l++)n(r[l]);return n}({1:[function(t,e,o){(function(e){"use strict";function r(t,e){var o={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}Object.defineProperty(o,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])}return t},i=window.React,l=function(t){return t&&t.__esModule?t:{default:t}}(i),a=t("./ribbonStyle"),b={left:[a.RibbonStyle.leftStyle,a.RibbonStyleWrapper.leftStyle],right:[a.RibbonStyle.rightStyle,a.RibbonStyleWrapper.rightStyle],"left-bottom":[a.RibbonStyle.leftBottomStyle,a.RibbonStyleWrapper.leftBottomStyle],"right-bottom":[a.RibbonStyle.rightBottomStyle,a.RibbonStyleWrapper.rightBottomStyle]},f={red:a.RibbonStyle.redColor,orange:a.RibbonStyle.orangeColor,black:a.RibbonStyle.blackColor,green:a.RibbonStyle.greenColor},d=function(t){var e=t.position,o=void 0===e?"right":e,i=t.href,d=t.target,g=t.color,p=void 0===g?"red":g,s=t.children,y=r(t,["position","href","target","color","children"]),u=b[o]||[a.RibbonStyle.rightStyle,a.RibbonStyleWrapper.rightStyle],S=f[p]||a.RibbonStyle.redColor;u[0]===a.RibbonStyle.rightStyle&&(o="right");var c=n({},a.RibbonStyle.baseStyle,u[0],S),h=n({},a.RibbonStyleWrapper.baseStyle,u[1]);return l.default.createElement("div",n({},y,{className:"github-fork-ribbon-wrapper "+o,style:h}),l.default.createElement("div",{className:"github-fork-ribbon",style:c},l.default.createElement("a",{href:i,target:d,style:a.RibbonStyle.urlStyle},s)))};o.default=e.RibbonStyle=d}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ribbonStyle":2}],2:[function(t,e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});o.RibbonStyle={baseStyle:{position:"absolute",padding:"2px 0",backgroundColor:"#a00",backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15))",WebkitBoxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",MozBoxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",boxShadow:"0 2px 3px 0 rgba(0, 0, 0, 0.5)",font:'700 13px "Helvetica Neue", Helvetica, Arial, sans-serif',zIndex:"9999",pointerEvents:"auto"},urlStyle:{color:"#fff",textDecoration:"none",textShadow:"0 -1px rgba(0, 0, 0, 0.5)",textAlign:"center",width:"200px",lineHeight:"20px",display:"inline-block",padding:"2px 0",borderWidth:"1px 0",borderStyle:"dotted",borderColor:"rgba(255, 255, 255, 0.7)"},redColor:{backgroundColor:"#a00"},orangeColor:{backgroundColor:"#f80"},blackColor:{backgroundColor:"#333"},greenColor:{backgroundColor:"#090"},leftStyle:{top:"42px",left:"-43px",WebkitTransform:"rotate(-45deg)",MozTransform:"rotate(-45deg)",msTransform:"rotate(-45deg)",OTransform:"rotate(-45deg)",transform:"rotate(-45deg)"},rightStyle:{top:"42px",right:"-43px",WebkitTransform:"rotate(45deg)",MozTransform:"rotate(45deg)",msTransform:"rotate(45deg)",OTransform:"rotate(45deg)",transform:"rotate(45deg)"},leftBottomStyle:{top:"80px",left:"-43px",WebkitTransform:"rotate(45deg)",MozTransform:"rotate(45deg)",msTransform:"rotate(45deg)",OTransform:"rotate(45deg)",transform:"rotate(45deg)"},rightBottomStyle:{top:"80px",right:"-43px",WebkitTransform:"rotate(-45deg)",MozTransform:"rotate(-45deg)",msTransform:"rotate(-45deg)",OTransform:"rotate(-45deg)",transform:"rotate(-45deg)"}},o.RibbonStyleWrapper={baseStyle:{width:"150px",height:"150px",position:"absolute",overflow:"hidden",top:0,zIndex:"9999",pointerEvents:"none"},fixedStyle:{position:"fixed"},leftStyle:{left:0},rightStyle:{right:0},leftBottomStyle:{position:"fixed",top:"inherit",bottom:0,left:0},rightBottomStyle:{position:"fixed",top:"inherit",bottom:0,right:0}}},{}]},{},[1]); |
{ | ||
"name": "react-github-fork-ribbon", | ||
"description": "Pure inline style github fork ribbon on React component", | ||
"version": "0.5.0", | ||
"keywords": [ | ||
"fork", | ||
"GitHub", | ||
"ribbon", | ||
"react", | ||
"react-component" | ||
], | ||
"version": "0.5.1", | ||
"keywords": ["fork", "GitHub", "ribbon", "react", "react-component"], | ||
"contributor": [ | ||
@@ -40,8 +34,9 @@ { | ||
"peerDependencies": { | ||
"react": "^0.14.0 || ^15.0.0" | ||
"react": "^0.14.0 || ^15.0.0 || ^16.0.0" | ||
}, | ||
"devDependencies": { | ||
"@kadira/storybook": "^2.35.3", | ||
"@storybook/react": "^3.2.12", | ||
"babel": "^6.5.2", | ||
"babel-core": "^6.24.1", | ||
"babel-loader": "^7.1.2", | ||
"babel-preset-es2015": "^6.24.1", | ||
@@ -53,5 +48,5 @@ "babel-preset-react": "^6.24.1", | ||
"browserify-global-shim": "^1.0.3", | ||
"enzyme": "^2.8.0", | ||
"enzyme-to-json": "^1.5.0", | ||
"expect": "^1.20.2", | ||
"enzyme": "^3.1.0", | ||
"enzyme-adapter-react-16": "^1.0.1", | ||
"enzyme-to-json": "^3.1.1", | ||
"gulp": "git://github.com/gulpjs/gulp.git#4.0", | ||
@@ -63,6 +58,8 @@ "gulp-babel": "^6.1.2", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jest": "^19.0.2", | ||
"react-addons-test-utils": "^15.5.1", | ||
"jest": "^21.2.1", | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"react-hot-loader": "3.0.0-beta.6", | ||
"storybook-addon-specifications": "^1.0.16", | ||
"react-test-renderer": "^16.0.0", | ||
"storybook-addon-specifications": "^2.1.1", | ||
"vinyl-buffer": "^1.0.0", | ||
@@ -73,9 +70,4 @@ "vinyl-source-stream": "^1.1.0" | ||
"jest": { | ||
"setupFiles": [ | ||
"<rootDir>/storybook/__conf__/mockConfig.js" | ||
], | ||
"testMatch": [ | ||
"**/storybook/**/*.stories.js", | ||
"**/src/**/*.spec.js" | ||
], | ||
"setupFiles": ["<rootDir>/storybook/__conf__/mockConfig.js"], | ||
"testMatch": ["**/storybook/**/*.stories.js", "**/src/**/*.spec.js"], | ||
"automock": false, | ||
@@ -92,13 +84,9 @@ "globals": { | ||
"moduleNameMapper": { | ||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/storybook/__mocks__/file.js", | ||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": | ||
"<rootDir>/storybook/__mocks__/file.js", | ||
"\\.(css|less)$": "identity-obj-proxy" | ||
}, | ||
"coveragePathIgnorePatterns": [ | ||
"<rootDir>/storybook/", | ||
"<rootDir>/node_modules/" | ||
], | ||
"snapshotSerializers": [ | ||
"enzyme-to-json/serializer" | ||
] | ||
"coveragePathIgnorePatterns": ["<rootDir>/storybook/", "<rootDir>/node_modules/"], | ||
"snapshotSerializers": ["enzyme-to-json/serializer"] | ||
} | ||
} |
@@ -65,2 +65,7 @@ React GitHub Fork Ribbon | ||
### Version 0.5.1 - 2017/10/05 | ||
- Support react 16 | ||
- Upgrade development environment | ||
### Version 0.5.0 - 2017/04/11 | ||
@@ -67,0 +72,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
370146
162
27