support npm new publish flow. fixed #129
Merge pull request #130 from fengmk2/fix-publish

Fix new npm publish flow