Add package.json for detect_swipe