def read_json_version(relpath):
    p = pathlib.Path('package.json')
    assert p.exists()
    with open(p, 'r') as f:
        json_data = json.loads(f.read())
    return json_data['version']
def read_json_version(relpath):
    p = pathlib.Path('package.json')
    assert p.exists()
    with open(p, 'r') as f:
        json_data = json.loads(f.read())
    return json_data['version']