added .editorconfig and refactored package.json