Changed index.html, project.json, and moved main.js from src to root. The frameworks folder was created by cocos console when you new project. The publish folder was created by cocos console when you compile the project.