Fix package.json and add editorconfig