add dev deps and test script to package.json, reformat