change npm deps to compat