update package.json for npm
fix reference error