fix package json error and add to gitignore