eol-converter-cli
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "eol-converter-cli", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Newline (EOL) coverter CLI for NodeJs (github repo soon) - Currently doing only CRLF -> LF convertion", | ||
"main": "src/index.js", | ||
"bin": { | ||
"convertWarmup": "src/index.js warmup", | ||
"convertToLF": "src/index.js", | ||
"convertToCRLF": "src/index.js crlf" | ||
"eolConverter": "src/index.js" | ||
}, | ||
"scripts": { | ||
"convertWarmup": "node src/index.js warmup", | ||
"convertToLF": "node src/index.js", | ||
"convertToCRLF": "node src/index.js crlf" | ||
"eolConverter": "node src/index.js" | ||
}, | ||
@@ -16,0 +12,0 @@ "keywords": [ |
@@ -11,3 +11,3 @@ # Newlines (EOL) converter cli for NodeJs | ||
// To see which files will be affected | ||
convertWarmup "**/*.js" | ||
eolConverter warmup "**/*.js" | ||
@@ -17,8 +17,8 @@ // Run conversions (cannot be undone) | ||
// To LF | ||
convertToLF "**/*.js" | ||
eolConverter "**/*.js" | ||
// To CRLF | ||
convertToCRLF "**/*.{js,jsx,ts,tsx}" | ||
eolConverter crlf "**/*.{js,jsx,ts,tsx}" | ||
``` | ||
For files reges is used GLOB regex, see https://www.npmjs.com/package/glob |
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
2000