fix package.json
add line number to generated function