Atom gulp task

/** * Atom * Installs and saves packages for Atom text editor. * @see https://atom.io */ var exec = require('child_process').exec; var gulp = require('gulp'); gulp.task('atom-install', function() { return exec('apm install --packages-file .atomconfig'); }); gulp.task('atom-save', function() { return exec('apm list --installed --bare > .atomconfig'); }); /* package.json */ "scripts": { "atom-install": "gulp atom-install", "atom-save": "gulp atom-save" }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.