fix minor problem

1. test file exist first
2. merge devDependencies and engines
update hist
bump 0.6.5