Switch to using npm scripts.