Initial commit
parent
f39f32ea7e
commit
f06f7a1043
@ -1,3 +1,4 @@
|
|||||||
# https://git-scm.com/docs/gitignore
|
# https://git-scm.com/docs/gitignore
|
||||||
# https://help.github.com/articles/ignoring-files
|
# https://help.github.com/articles/ignoring-files
|
||||||
# Example .gitignore files: https://github.com/github/gitignore
|
# Example .gitignore files: https://github.com/github/gitignore
|
||||||
|
/node_modules/
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
var gulp = require('gulp');
|
||||||
|
|
||||||
|
/* CoffeeScript compile deps */
|
||||||
|
var path = require('path');
|
||||||
|
var gutil = require('gulp-util');
|
||||||
|
var concat = require('gulp-concat');
|
||||||
|
var rename = require('gulp-rename');
|
||||||
|
var coffee = require('gulp-coffee');
|
||||||
|
var cache = require('gulp-cached');
|
||||||
|
var remember = require('gulp-remember');
|
||||||
|
var plumber = require('gulp-plumber');
|
||||||
|
|
||||||
|
var source = ["lib/**/*.coffee", "index.coffee"]
|
||||||
|
|
||||||
|
gulp.task('coffee', function() {
|
||||||
|
return gulp.src(source, {base: "."})
|
||||||
|
.pipe(plumber())
|
||||||
|
.pipe(cache("coffee"))
|
||||||
|
.pipe(coffee({bare: true}).on('error', gutil.log)).on('data', gutil.log)
|
||||||
|
.pipe(remember("coffee"))
|
||||||
|
.pipe(gulp.dest("."));
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('watch', function () {
|
||||||
|
gulp.watch(source, ['coffee']);
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('default', ['coffee', 'watch']);
|
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"name": "scrypt-for-humans",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "A human-friendly API wrapper for the Node.js Scrypt bindings.",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git://github.com/joepie91/scrypt-for-humans"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"scrypt",
|
||||||
|
"hash"
|
||||||
|
],
|
||||||
|
"author": "Sven Slootweg",
|
||||||
|
"license": "WTFPL",
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "~3.8.0",
|
||||||
|
"gulp-cached": "~0.0.3",
|
||||||
|
"gulp-coffee": "~2.0.1",
|
||||||
|
"gulp-concat": "~2.2.0",
|
||||||
|
"gulp-livereload": "~2.1.0",
|
||||||
|
"gulp-nodemon": "~1.0.4",
|
||||||
|
"gulp-plumber": "~0.6.3",
|
||||||
|
"gulp-remember": "~0.2.0",
|
||||||
|
"gulp-rename": "~1.2.0",
|
||||||
|
"gulp-util": "~2.2.17"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"scrypt": "^3.0.1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue