Download pool/shard006/JavaScript/0037600_gulpfile.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard006/JavaScript/0037600_gulpfile.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard006/JavaScript/0037600_gulpfile.js
-
curl -L -o 0037600_gulpfile.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard006/JavaScript/0037600_gulpfile.js
575 Bytes
| var gulp = require('gulp'); | |
| var ts = require('gulp-typescript'); | |
| var merge = require('merge2'); | |
| var tsProject = ts.createProject('tsconfig.json'); | |
| gulp.task('scripts', function() { | |
| var tsResult = tsProject.src() // instead of gulp.src(...) | |
| .pipe(ts(tsProject)); | |
| return tsResult.js.pipe(gulp.dest('release')); | |
| }); | |
| gulp.task('watch', ['scripts', 'copy'], function() { | |
| gulp.watch('src/**/*.ts', ['scripts', 'copy']); | |
| }); | |
| gulp.task('default', ['watch']); | |
| gulp.task('copy', function() { | |
| return gulp.src('src/*.json') | |
| .pipe(gulp.dest('release/src')); | |
| }); | |