[build] put widgets.json in build directory