react-currency-input-field
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -0,1 +1,8 @@ | ||
## [2.4.1](https://github.com/cchanxzy/react-currency-input-field/compare/v2.4.0...v2.4.1) (2020-11-04) | ||
### Bug Fixes | ||
* add onChange to onBlur test ([4195ef6](https://github.com/cchanxzy/react-currency-input-field/commit/4195ef68c5e2eeaedd573813b252dacf4b8b2e92)) | ||
# [2.4.0](https://github.com/cchanxzy/react-currency-input-field/compare/v2.3.6...v2.4.0) (2020-11-03) | ||
@@ -2,0 +9,0 @@ |
@@ -1,2 +0,2 @@ | ||
module.exports=function(e){var r={};function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)t.d(a,n,function(r){return e[r]}.bind(null,n));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=2)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.escapeRegExp=void 0,r.escapeRegExp=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.formatValue=void 0;var a=t(11);r.formatValue=function(e){var r=e.value,t=e.decimalSeparator,n=void 0===t?".":t,i=e.groupSeparator,o=void 0===i?",":i,u=e.turnOffSeparators,l=void 0!==u&&u,c=e.prefix;if(""===r||void 0===r)return"";var d=String(r);if("-"===d)return"-";var f=d.includes("-"),s=d.split(n),p=s[0],v=s[1],m=f?p.replace("-",""):p;return""+(f?"-":"")+(c||"")+(l?m:a.addSeparators(m,o))+(d.includes(n)?""+n+v:"")}},function(e,r,t){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=a(t(3));r.default=n.default;var i=t(1);Object.defineProperty(r,"formatValue",{enumerable:!0,get:function(){return i.formatValue}})},function(e,r,t){"use strict";var a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)},n=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.hasOwnProperty.call(e,t)&&n(r,e,t);return i(r,e),r},u=this&&this.__rest||function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)r.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]])}return t};Object.defineProperty(r,"__esModule",{value:!0}),r.CurrencyInput=void 0;var l=o(t(4)),c=t(5);r.CurrencyInput=function(e){var r=e.allowDecimals,t=void 0===r||r,n=e.allowNegativeValue,i=void 0===n||n,o=e.id,d=e.name,f=e.className,s=e.decimalsLimit,p=e.defaultValue,v=e.disabled,m=void 0!==v&&v,g=e.maxLength,b=e.value,h=e.onChange,_=e.onBlurValue,y=e.fixedDecimalLength,O=e.placeholder,S=e.precision,x=e.prefix,j=e.decimalSeparator,V=void 0===j?".":j,P=e.groupSeparator,w=void 0===P?",":P,M=e.turnOffSeparators,E=void 0!==M&&M,R=u(e,["allowDecimals","allowNegativeValue","id","name","className","decimalsLimit","defaultValue","disabled","maxLength","value","onChange","onBlurValue","fixedDecimalLength","placeholder","precision","prefix","decimalSeparator","groupSeparator","turnOffSeparators"]);if(V===w)throw new Error("decimalSeparator cannot be the same as groupSeparator");if(c.isNumber(V))throw new Error("decimalSeparator cannot be a number");if(c.isNumber(w))throw new Error("groupSeparator cannot be a number");var N={decimalSeparator:V,groupSeparator:w,turnOffSeparators:E,prefix:x},D={decimalSeparator:V,groupSeparator:w,allowDecimals:t,decimalsLimit:s||y||2,allowNegativeValue:i,prefix:x},C=void 0!==p?c.formatValue(a({value:String(p)},N)):"",L=l.useState(C),I=L[0],B=L[1],T=l.useState(0),k=T[0],A=T[1],$=l.useRef(null);l.useEffect((function(){$&&$.current&&$.current.setSelectionRange(k,k)}),[k,$]);var q=void 0!==b?c.formatValue(a({value:String(b)},N)):void 0;return l.default.createElement("input",a({type:"text",inputMode:"decimal",id:o,name:d,className:f,onChange:function(e){var r=e.target,t=r.value,n=r.selectionStart,i=c.cleanValue(a({value:String(t)},D));if(!i)return h&&h(void 0,d),void B("");if(!(g&&i.length>g)){if("-"===i)return h&&h(void 0,d),void B(t);var o=c.formatValue(a({value:i},N));if(n){var u=n+(o.length-t.length)||1;A(u)}B(o),h&&h(i,d)}},onBlur:function(e){var r=e.target.value,t=c.cleanValue(a({value:r},D));if("-"===t||!t)return _&&_(void 0,d),void B("");var n=c.fixedDecimalValue(t,V,y),i=c.padTrimValue(n,V,S||y);_&&_(i,d);var o=c.formatValue(a({value:i},N));B(o)},onFocus:function(){return I?I.length:0},placeholder:O,disabled:m,value:void 0!==q&&"-"!==I?q:I,ref:$},R))},r.default=r.CurrencyInput},function(e,r){e.exports=require("react")},function(e,r,t){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),n=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||r.hasOwnProperty(t)||a(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),n(t(6),r),n(t(10),r),n(t(1),r),n(t(12),r),n(t(13),r)},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.cleanValue=void 0;var a=t(7),n=t(8),i=t(9),o=t(0);r.cleanValue=function(e){var r=e.value,t=e.groupSeparator,u=void 0===t?",":t,l=e.decimalSeparator,c=void 0===l?".":l,d=e.allowDecimals,f=void 0===d||d,s=e.decimalsLimit,p=void 0===s?2:s,v=e.allowNegativeValue,m=void 0===v||v,g=e.prefix,b=void 0===g?"":g,h=r.includes("-"),_=RegExp("(\\d+)-?"+o.escapeRegExp(b)).exec(r)||[],y=_[0],O=_[1],S=b?r.replace(y,"").concat(O):r,x=n.removeSeparators(S,u),j=i.removeInvalidChars(x,[u,c,"k","m","b"]),V=a.parseAbbrValue(j,c)||j,P=h&&m?"-":"";if(String(V).includes(c)){var w=j.split(c),M=w[0],E=w[1],R=p?E.slice(0,p):E;return""+P+M+(f?""+c+R:"")}return""+P+V}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parseAbbrValue=r.abbrValue=void 0;var a=t(0);r.abbrValue=function(e,r,t){if(void 0===r&&(r="."),void 0===t&&(t=10),e>999){var a=(""+e).length,n=Math.pow,i=n(10,t);return a-=a%3,(Math.round(e*i/n(10,a))/i+" kMGTPE"[a/3]).replace(".",r)}return String(e)};var n={k:1e3,m:1e6,b:1e9};r.parseAbbrValue=function(e,r){void 0===r&&(r=".");var t=new RegExp("(\\d+("+a.escapeRegExp(r)+"\\d+)?)([kmb])$","i"),i=e.match(t);if(i){var o=i[1],u=i[3],l=u?n[u.toLowerCase()]:null;if(o&&l)return Number(o.replace(r,"."))*l}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeSeparators=void 0;var a=t(0);r.removeSeparators=function(e,r){void 0===r&&(r=",");var t=new RegExp(a.escapeRegExp(r),"g");return e.replace(t,"")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeInvalidChars=void 0;var a=t(0);r.removeInvalidChars=function(e,r){var t=a.escapeRegExp(r.join("")),n=new RegExp("[^\\d"+t+"]","gi");return e.replace(n,"")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fixedDecimalValue=void 0,r.fixedDecimalValue=function(e,r,t){if(t&&e.length>1){if(e.includes(r)){var a=e.split(r),n=a[0];if((i=a[1]).length>t)return""+n+r+i.slice(0,t)}var i,o=e.length>t?new RegExp("(\\d+)(\\d{"+t+"})"):new RegExp("(\\d)(\\d+)"),u=e.match(o);if(u)return""+(n=u[1])+r+(i=u[2])}return e}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addSeparators=void 0,r.addSeparators=function(e,r){return void 0===r&&(r=","),e.replace(/\B(?=(\d{3})+(?!\d))/g,r)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isNumber=void 0,r.isNumber=function(e){return RegExp(/\d/,"gi").test(e)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.padTrimValue=void 0,r.padTrimValue=function(e,r,t){if(void 0===r&&(r="."),!t||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var a=e.split(r),n=a[0],i=a[1]||"";if(i.length<t)for(;i.length<t;)i+="0";else i=i.slice(0,t);return""+n+r+i}}]); | ||
module.exports=function(e){var r={};function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)t.d(a,n,function(r){return e[r]}.bind(null,n));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=2)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.escapeRegExp=void 0,r.escapeRegExp=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.formatValue=void 0;var a=t(11);r.formatValue=function(e){var r=e.value,t=e.decimalSeparator,n=void 0===t?".":t,i=e.groupSeparator,o=void 0===i?",":i,u=e.turnOffSeparators,l=void 0!==u&&u,c=e.prefix;if(""===r||void 0===r)return"";var d=String(r);if("-"===d)return"-";var f=d.includes("-"),s=d.split(n),p=s[0],v=s[1],m=f?p.replace("-",""):p;return""+(f?"-":"")+(c||"")+(l?m:a.addSeparators(m,o))+(d.includes(n)?""+n+v:"")}},function(e,r,t){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=a(t(3));r.default=n.default;var i=t(1);Object.defineProperty(r,"formatValue",{enumerable:!0,get:function(){return i.formatValue}})},function(e,r,t){"use strict";var a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)},n=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)"default"!==t&&Object.hasOwnProperty.call(e,t)&&n(r,e,t);return i(r,e),r},u=this&&this.__rest||function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)r.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]])}return t};Object.defineProperty(r,"__esModule",{value:!0}),r.CurrencyInput=void 0;var l=o(t(4)),c=t(5);r.CurrencyInput=function(e){var r=e.allowDecimals,t=void 0===r||r,n=e.allowNegativeValue,i=void 0===n||n,o=e.id,d=e.name,f=e.className,s=e.decimalsLimit,p=e.defaultValue,v=e.disabled,m=void 0!==v&&v,g=e.maxLength,b=e.value,h=e.onChange,_=e.onBlurValue,y=e.fixedDecimalLength,O=e.placeholder,S=e.precision,x=e.prefix,j=e.decimalSeparator,V=void 0===j?".":j,P=e.groupSeparator,w=void 0===P?",":P,M=e.turnOffSeparators,E=void 0!==M&&M,R=u(e,["allowDecimals","allowNegativeValue","id","name","className","decimalsLimit","defaultValue","disabled","maxLength","value","onChange","onBlurValue","fixedDecimalLength","placeholder","precision","prefix","decimalSeparator","groupSeparator","turnOffSeparators"]);if(V===w)throw new Error("decimalSeparator cannot be the same as groupSeparator");if(c.isNumber(V))throw new Error("decimalSeparator cannot be a number");if(c.isNumber(w))throw new Error("groupSeparator cannot be a number");var N={decimalSeparator:V,groupSeparator:w,turnOffSeparators:E,prefix:x},D={decimalSeparator:V,groupSeparator:w,allowDecimals:t,decimalsLimit:s||y||2,allowNegativeValue:i,prefix:x},C=void 0!==p?c.formatValue(a({value:String(p)},N)):"",L=l.useState(C),I=L[0],B=L[1],T=l.useState(0),k=T[0],A=T[1],$=l.useRef(null);l.useEffect((function(){$&&$.current&&$.current.setSelectionRange(k,k)}),[k,$]);var q=void 0!==b?c.formatValue(a({value:String(b)},N)):void 0;return l.default.createElement("input",a({type:"text",inputMode:"decimal",id:o,name:d,className:f,onChange:function(e){var r=e.target,t=r.value,n=r.selectionStart,i=c.cleanValue(a({value:String(t)},D));if(!i)return h&&h(void 0,d),void B("");if(!(g&&i.length>g)){if("-"===i)return h&&h(void 0,d),void B(t);var o=c.formatValue(a({value:i},N));if(n){var u=n+(o.length-t.length)||1;A(u)}B(o),h&&h(i,d)}},onBlur:function(e){var r=e.target.value,t=c.cleanValue(a({value:r},D));if("-"===t||!t)return _&&_(void 0,d),void B("");var n=c.fixedDecimalValue(t,V,y),i=c.padTrimValue(n,V,S||y);h&&h(i,d),_&&_(i,d);var o=c.formatValue(a({value:i},N));B(o)},onFocus:function(){return I?I.length:0},placeholder:O,disabled:m,value:void 0!==q&&"-"!==I?q:I,ref:$},R))},r.default=r.CurrencyInput},function(e,r){e.exports=require("react")},function(e,r,t){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),n=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||r.hasOwnProperty(t)||a(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),n(t(6),r),n(t(10),r),n(t(1),r),n(t(12),r),n(t(13),r)},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.cleanValue=void 0;var a=t(7),n=t(8),i=t(9),o=t(0);r.cleanValue=function(e){var r=e.value,t=e.groupSeparator,u=void 0===t?",":t,l=e.decimalSeparator,c=void 0===l?".":l,d=e.allowDecimals,f=void 0===d||d,s=e.decimalsLimit,p=void 0===s?2:s,v=e.allowNegativeValue,m=void 0===v||v,g=e.prefix,b=void 0===g?"":g,h=r.includes("-"),_=RegExp("(\\d+)-?"+o.escapeRegExp(b)).exec(r)||[],y=_[0],O=_[1],S=b?r.replace(y,"").concat(O):r,x=n.removeSeparators(S,u),j=i.removeInvalidChars(x,[u,c,"k","m","b"]),V=a.parseAbbrValue(j,c)||j,P=h&&m?"-":"";if(String(V).includes(c)){var w=j.split(c),M=w[0],E=w[1],R=p?E.slice(0,p):E;return""+P+M+(f?""+c+R:"")}return""+P+V}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parseAbbrValue=r.abbrValue=void 0;var a=t(0);r.abbrValue=function(e,r,t){if(void 0===r&&(r="."),void 0===t&&(t=10),e>999){var a=(""+e).length,n=Math.pow,i=n(10,t);return a-=a%3,(Math.round(e*i/n(10,a))/i+" kMGTPE"[a/3]).replace(".",r)}return String(e)};var n={k:1e3,m:1e6,b:1e9};r.parseAbbrValue=function(e,r){void 0===r&&(r=".");var t=new RegExp("(\\d+("+a.escapeRegExp(r)+"\\d+)?)([kmb])$","i"),i=e.match(t);if(i){var o=i[1],u=i[3],l=u?n[u.toLowerCase()]:null;if(o&&l)return Number(o.replace(r,"."))*l}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeSeparators=void 0;var a=t(0);r.removeSeparators=function(e,r){void 0===r&&(r=",");var t=new RegExp(a.escapeRegExp(r),"g");return e.replace(t,"")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeInvalidChars=void 0;var a=t(0);r.removeInvalidChars=function(e,r){var t=a.escapeRegExp(r.join("")),n=new RegExp("[^\\d"+t+"]","gi");return e.replace(n,"")}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fixedDecimalValue=void 0,r.fixedDecimalValue=function(e,r,t){if(t&&e.length>1){if(e.includes(r)){var a=e.split(r),n=a[0];if((i=a[1]).length>t)return""+n+r+i.slice(0,t)}var i,o=e.length>t?new RegExp("(\\d+)(\\d{"+t+"})"):new RegExp("(\\d)(\\d+)"),u=e.match(o);if(u)return""+(n=u[1])+r+(i=u[2])}return e}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addSeparators=void 0,r.addSeparators=function(e,r){return void 0===r&&(r=","),e.replace(/\B(?=(\d{3})+(?!\d))/g,r)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isNumber=void 0,r.isNumber=function(e){return RegExp(/\d/,"gi").test(e)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.padTrimValue=void 0,r.padTrimValue=function(e,r,t){if(void 0===r&&(r="."),!t||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var a=e.split(r),n=a[0],i=a[1]||"";if(i.length<t)for(;i.length<t;)i+="0";else i=i.slice(0,t);return""+n+r+i}}]); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "react-currency-input-field", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "React <input /> component for formatting currency and numbers.", | ||
@@ -12,9 +12,9 @@ "files": [ | ||
"scripts": { | ||
"build": "rm -rf dist && tsc && NODE_ENV='prod' webpack --mode=production", | ||
"start": "NODE_ENV='dev' webpack-dev-server --mode=development --hot", | ||
"build": "rm -rf dist && tsc && NODE_ENV='production' webpack --config-name=prod --mode=production", | ||
"start": "NODE_ENV='development' webpack-dev-server --config-name=dev --mode=development --hot", | ||
"test": "jest --coverage", | ||
"test:watch": "jest --coverage --watch", | ||
"lint": "tsc && eslint 'src/**/*.{js,ts,tsx}' --max-warnings=0", | ||
"gh-predeploy": "NODE_ENV='dev' webpack --mode=development", | ||
"gh-deploy": "yarn gh-predeploy && gh-pages -d dist", | ||
"gh-predeploy": "NODE_ENV='production' webpack --config-name=dev --mode=production", | ||
"gh-deploy": "yarn gh-predeploy && gh-pages -d demo/examples", | ||
"ci": "yarn && yarn build", | ||
@@ -21,0 +21,0 @@ "codecov": "codecov", |
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
59215
192