[setup] Make package ready for npm.