This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "GulpExamples.less", | |
| "version": "1.0.0" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "GulpExamples.less", | |
| "version": "1.0.0", | |
| "devDependencies": { | |
| "gulp": "^3.8.11", | |
| "gulp-less": "^3.0.3", | |
| "gulp-sourcemaps": "^1.5.2", | |
| "gulp-watch": "^4.2.4" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require("gulp"), | |
| gulpWatch = require("gulp-watch"), | |
| less = require("gulp-less"), | |
| sourcemaps = require("gulp-sourcemaps"); | |
| gulp.task("less", function () { | |
| return gulp.src("./Content/Less/Site.less") | |
| .pipe(sourcemaps.init()) | |
| .pipe(less()) | |
| .pipe(sourcemaps.write("../Content")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "GulpExamples.Bundling", | |
| "version": "1.0.0", | |
| "devDependencies": { | |
| "gulp": "^3.8.11", | |
| "gulp-concat-css": "^2.2.0", | |
| "gulp-less": "^3.0.3", | |
| "gulp-sourcemaps": "^1.5.2", | |
| "gulp-watch": "^4.2.4" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var concatCSS = require("gulp-concat-css"), | |
| gulp = require("gulp"), | |
| less = require("gulp-less"), | |
| sourcemaps = require("gulp-sourcemaps"); | |
| gulp.task("less", function () { | |
| return gulp.src(["./Content/Less/Site.less", "./Content/Less/Inverted.less"]) | |
| .pipe(sourcemaps.init()) | |
| .pipe(less({ | |
| paths: ["."] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "GulpExamples.Bundling", | |
| "version": "1.0.0", | |
| "devDependencies": { | |
| "gulp": "^3.8.11", | |
| "gulp-concat-css": "^2.2.0", | |
| "gulp-less": "^3.0.3", | |
| "gulp-minify-css" : "^1.1.1", | |
| "gulp-sourcemaps": "^1.5.2", | |
| "gulp-watch": "^4.2.4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var concatCSS = require("gulp-concat-css"), | |
| gulp = require("gulp"), | |
| less = require("gulp-less"), | |
| minifyCSS = require('gulp-minify-css'), | |
| sourcemaps = require("gulp-sourcemaps"); | |
| gulp.task("less", function () { | |
| return gulp.src(["./Content/Less/Site.less", "./Content/Less/Inverted.less"]) | |
| .pipe(sourcemaps.init()) | |
| .pipe(less({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface IOptions { | |
| option1?: boolean; | |
| option2?: boolean; | |
| } | |
| interface IParameter { | |
| options: IOptions; | |
| } | |
| var parameter: IParameter = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function git-rm-orig { | |
| git status -su | select-string -pattern "\.orig$" | ForEach-Object { | |
| $_.ToString().TrimStart("?? ") | |
| } | ForEach-Object { | |
| rm $_ -Confirm | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd WebApp | |
| npm install npm@3.3.6 -g | |
| $env:path = $env:appdata + "\npm;" + $env:path | |
| npm install |
OlderNewer