diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2ea96c1 --- /dev/null +++ b/.npmrc @@ -0,0 +1,4 @@ + +package-lock=false +//npm.pkg.github.com/:_authToken=255cf5ace8678f65adaaf95a679aad8b4efa937e +//registry=https://npm.pkg.github.com/adenekan41 \ No newline at end of file diff --git a/Readme.md b/Readme.md index 9cb5df9..8be0fa9 100644 --- a/Readme.md +++ b/Readme.md @@ -6,7 +6,7 @@ ## About -[CssUnit](https://github.com/adenekan41/cssunit) A cli tool to convert units in your file **helps you swiftly convert units/mesurements in your file or folders**. +[CssUnit](https://gitmoji.carloscuesta.me) A cli tool to convert units in your file **helps you swiftly convert units/mesurements in your file or folders**. **Using cssunit** on **files** provides an **easy way** of **changing mesurement from px to rem or rem to px or even px to em** with only a few commands in your terminal. diff --git a/src/commands/index.js b/src/commands/index.js index 45357b0..6b41fe8 100644 --- a/src/commands/index.js +++ b/src/commands/index.js @@ -11,7 +11,7 @@ module.exports = async (args) => { let thisProgressBar = new clui.Progress(20); let [, , command, file] = process.argv; let options = { - files: args.r || args.folder ? ['**/*.css' || '**/*.scss'] : file, + files: args.r || args.folder ? ['**/*.css', '**/*.scss'] : file, ignore: ['node_modules/**'], countMatches: true, }; diff --git a/src/index.css b/src/index.css deleted file mode 100644 index 24e090e..0000000 --- a/src/index.css +++ /dev/null @@ -1,55 +0,0 @@ -@mixin respond($breakpoint) { - @if $breakpoint==minMDPI { - @media only screen and (min-width: 1200px) { - @content; - } - } - - @if $breakpoint==maxHDPI { - @media only screen and (max-width: 1440px) { - @content; - } - } - - @if $breakpoint==maxMDPIPlus { - @media only screen and (max-width: 1366px) { - @content; - } - } - - @if $breakpoint==maxMDPI { - @media only screen and (max-width: 1200px) { - @content; - } - } - - @if $breakpoint==maxTabPlus { - @media only screen and (max-width: 1024px) { - @content; - } - } - - @if $breakpoint==minTab { - @media only screen and (min-width: 768px) { - @content; - } - } - - @if $breakpoint==maxTab { - @media only screen and (max-width: 768px) { - @content; - } - } - - @if $breakpoint==maxPhone { - @media only screen and (max-width: 576px) { - @content; - } - } - - @if $breakpoint==maxSmallPhone { - @media only screen and (max-width: 320px) { - @content; - } - } -}