diff --git a/package.json b/package.json index 5206910..f2bb69a 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "email": "brian.lai.ym@gmail.com", "url": "github.com/blai/react-component-illustrator" }, + "main": "lib/index.js", "bin": "bin/cli.js", "engines": { "node": ">=0.10.0" diff --git a/src/util.js b/src/util.js index 719d6a1..5920214 100644 --- a/src/util.js +++ b/src/util.js @@ -19,6 +19,7 @@ export function writeToOutput(options, content) { mkdirp.sync(path.dirname(options.dest)); fs.writeFileSync(options.dest, content); } + console.log(content); return content; }