add main for package.json
Merge pull request #17 from zhuangya/npm-main

add main for package.json