[editor] fix example
add package.json