Add npm scripts.