From 6696389a06f675c36a0ba771d7de78042650cd0a Mon Sep 17 00:00:00 2001 From: Waren Gonzaga Date: Sun, 10 Dec 2017 11:18:47 +0800 Subject: [PATCH] Update the devDependencies, Fix build failing status, and some minor changes! (#766) * Update the devDependencies * Update the gitignore file * Update the version of gulp * Fix the build error in the gulpfile script * Update node version testing for travis --- .gitignore | 1 + .travis.yml | 4 ++-- gulpfile.js | 2 +- package.json | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 9621ab8..a55d6e7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ .DS_Store test/ +npm-debug.log diff --git a/.travis.yml b/.travis.yml index 0d27250..8ae1d51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: node_js node_js: +- "9" +- "8" - "6" -- "6.1" -- "5.11" before_script: - npm install -g gulp script: gulp \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index aed4102..311e50c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -24,7 +24,7 @@ var opts = { concatName: 'animate.css', autoprefixer: { - browsers: ['> 1%, last 2 versions, Firefox ESR'], + browsers: ['> 1%', 'last 2 versions', 'Firefox ESR'], cascade: false }, diff --git a/package.json b/package.json index dcb6f8f..2cc5f9e 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,15 @@ } }, "devDependencies": { - "autoprefixer": "^6.3.2", + "autoprefixer": "^7.1.6", "cssnano": "^3.5.1", - "gulp": "^3.9.0", + "gulp": "^3.9.1", "gulp-concat": "^2.6.0", "gulp-header": "^1.7.1", - "gulp-postcss": "^6.1.0", + "gulp-postcss": "^7.0.0", "gulp-rename": "^1.2.2", "gulp-util": "^3.0.7", - "run-sequence": "^1.1.5" + "run-sequence": "^2.2.0" }, "spm": { "main": "./animate.css"