saving swig to package.json