use npm local install of `state` package