add .swp
copy package.json to src directory