hunk.code_window:     "prerelease": "npm test",
       "release": "sh .scripts/release.sh",
       "tsc": "rimraf lib && tsc",
       "prepublish": "npm run tsc"
     },
     "config": {
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit:     "tsc": "rm -rf lib && tsc",
  
hunk.file_path: package.json
hunk.type: replace
file: import supportsColor = require('supports-color')
  import pretty from './pretty'
  import simple from './simple'
  
  export type LoggerType = 'pretty' | 'simple'
  
  export default (loggerType: LoggerType) =>
    ((loggerType === 'pretty' && supportsColor)
      ? pretty()
      : simple())
  