generate.js tmp dir check .gitingore copied