From ea296ac85fafa1ccfcd58ebe45d8896f1905fe1d Mon Sep 17 00:00:00 2001 From: mhsjlw Date: Sat, 27 Feb 2016 11:33:06 +0000 Subject: [PATCH] removed gulp --- .gitignore | 3 +-- .npmignore | 2 -- Gulpfile.js | 27 --------------------------- package.json | 11 ++--------- 4 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 .npmignore delete mode 100644 Gulpfile.js diff --git a/.gitignore b/.gitignore index f8deb35..9303c34 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ node_modules/ -npm-debug.log -dist/ \ No newline at end of file +npm-debug.log \ No newline at end of file diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 9303c34..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -npm-debug.log \ No newline at end of file diff --git a/Gulpfile.js b/Gulpfile.js deleted file mode 100644 index 12f1f3a..0000000 --- a/Gulpfile.js +++ /dev/null @@ -1,27 +0,0 @@ -var gulp = require('gulp'); -var plumber = require('gulp-plumber'); -var babel = require('gulp-babel'); -var sourcemaps = require('gulp-sourcemaps'); -var options = { stage: 0, optional: ["runtime"] }; - -gulp.task('compile', function() { - return gulp - .src('src/**/*.js') - .pipe(plumber({ - errorHandler: function(err) { - console.error(err.stack); - this.emit('end'); - } - })) - .pipe(sourcemaps.init()) - .pipe(babel(options)) - .pipe(plumber.stop()) - .pipe(sourcemaps.write('maps/')) - .pipe(gulp.dest('dist/')); -}); - -gulp.task('watch', function() { - return gulp.watch('src/**/*.js', ['compile']); -}); - -gulp.task('default', ['compile']); \ No newline at end of file diff --git a/package.json b/package.json index 196237d..35f2902 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,9 @@ { "name": "pocket-minecraft-protocol", "version": "1.0.0", - "description": "Parse and serialize Minecraft pocket edition packets.", + "description": "Parse and serialize Minecraft PE packets.", "main": "index.js", "scripts": { - "prepublish": "gulp", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ @@ -18,16 +17,10 @@ ], "license": "MIT", "dependencies": { - "babel-runtime": "^5.4.4", "protodef": "^1.1.2", "raknet": "^1.1.0" }, - "devDependencies": { - "gulp": "3.8.11", - "gulp-babel": "5.1.0", - "gulp-plumber": "1.0.1", - "gulp-sourcemaps": "1.3.0" - }, + "devDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/mhsjlw/pocket-minecraft-protocol.git"