import Project from './project' ; import { ProjectInterface } from '@alfred/types' ; if ( typeof jest === 'undefined' ) { require ( 'source-map-support/register' ) ; } export default function alfred ( projectDir ? ) { const project = new Project ( projectDir ) ; return project . init ( ) ; } export { formatPkgJson } from './project' ;