   throw err if err?
   target = (path.join process.cwd(), project.project)
 
-  transform_dir fullpath, project, target+  await transform_dir fullpath, project, target, defer()
    throw err if err?

    # if it's a file, transform the file
    if stats.isFile()
      transform_file src_path, project, target_path
    else if stats.isDirectory()
      transform_dir src_path, project, target_path

module.exports = (json_file) ->


  'width' : 'the height of the user interface'
  'height' : 'the width of the user interface'
  
transform_file = (src, project, target, next) ->

  # copy the file.
  proc = child_process.spawn 'cp', [src, target], {'stdio' : 'ignore'}
  await proc.on 'exit', defer()

  # replace each key with each replacement using sed
  args = ['-i', '']
