Adds standalone task to npm scripts.