add package.json. Fix type error in text interpolator