convert-root-import
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "convert-root-import", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Convert paths used in babel-plugin-root-import to relative ones", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,4 +10,5 @@ # `convert-root-import` | ||
``` | ||
convert-root-import -o some-file.js` | ||
convert-root-import -o some-file.js | ||
``` | ||
See `convert-root-import --help` for more information. | ||
@@ -19,5 +20,8 @@ | ||
# change JSX files | ||
find src/client -name '*.jsx' -exec convert-root-import -o {} \;` | ||
find src/client -name '*.jsx' -exec convert-root-import -o {} \; | ||
``` | ||
## Installation | ||
`npm install -g convert-root-import` | ||
## Caveats | ||
@@ -24,0 +28,0 @@ This is a simple tool that doesn't build an AST, and only works line-wise. As such, it does not handle multi-line |
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
5443
45