Skip to content

Instantly share code, notes, and snippets.

View ankitwww's full-sized avatar
🏠
Working from home

Ankit Kashyap ankitwww

🏠
Working from home
View GitHub Profile
@ankitwww
ankitwww / npm-scripts.md
Created November 1, 2015 01:10 — forked from hashrock/npm-scripts.md
awesome-npm-scripts
{
    "build-js": "browserify browser/main.js | uglifyjs -mc > static/bundle.js",
    "build-css": "cat static/pages/*.css tabs/*/*.css",
    "build": "npm run build-js && npm run build-css",
    "watch-js": "watchify browser/main.js -o static/bundle.js -dv",
    "watch-css": "catw static/pages/*.css tabs/*/*.css -o static/bundle.css -v",
    "watch": "npm run watch-js & npm run watch-css",
@ankitwww
ankitwww / gulpfile.js
Created October 31, 2015 17:04 — forked from glenasmith/gulpfile.js
Zip up your webjob files into a deployable artifact
gulp.task('webjob', function() {
var webjob = "feedFetcher.zip";
del(webjob)
return gulp.src(['parsers/*.js', 'package.json', 'feedFetcher.js'], {base: "."})
.pipe(zip(webjob))
.pipe(gulp.dest('.'));
});