UNPKG

@lamantin/fastpush

Version:

Typed fastlane frontend for pushing builds to store

10 lines (8 loc) 210 B
import jetpack = require('fs-jetpack') /** * Parse file to json */ export async function parseFile<T = any>(file: string): Promise<T> { const raw = await jetpack.readAsync(file) return JSON.parse(raw) }