remove unused variables and package.json