Refine npm scripts and add styles, watcher and a test