From fc4482c03e012da58a27986950e8d814dfda0b95 Mon Sep 17 00:00:00 2001 From: Shiva Poudel Date: Mon, 20 Nov 2017 02:34:26 +0545 Subject: [PATCH] Updated node packages and exclude vendor directory while creating POT --- Gruntfile.js | 1 + package.json | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 16262fe3167..fd287077e7a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -199,6 +199,7 @@ module.exports = function( grunt ) { potFilename: 'woocommerce.pot', exclude: [ 'apigen/.*', + 'vendor/.*', 'tests/.*', 'tmp/.*' ] diff --git a/package.json b/package.json index 81676f21a8e..ba6a4afaf71 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --compilers js:babel-register" }, "devDependencies": { - "autoprefixer": "^6.7.7", + "autoprefixer": "~7.1.6", "babel": "^6.5.2", "babel-cli": "^6.14.0", "babel-eslint": "^7.0.0", @@ -26,25 +26,25 @@ "chai-as-promised": "^6.0.0", "chromedriver": "^2.33.0", "config": "^1.24.0", - "cross-env": "^3.0.0", + "cross-env": "~5.1.1", "grunt": "~1.0.1", - "grunt-checktextdomain": "~1.0.0", - "grunt-contrib-clean": "~1.0.0", - "grunt-contrib-concat": "1.0.1", - "grunt-contrib-cssmin": "~2.2.0", + "grunt-checktextdomain": "~1.0.1", + "grunt-contrib-clean": "~1.1.0", + "grunt-contrib-concat": "~1.0.1", + "grunt-contrib-cssmin": "~2.2.1", "grunt-contrib-jshint": "~1.1.0", - "grunt-contrib-uglify": "~3.0.0", + "grunt-contrib-uglify": "~3.1.0", "grunt-contrib-watch": "~1.0.0", "grunt-phpcs": "~0.4.0", - "grunt-postcss": "~0.8.0", + "grunt-postcss": "~0.9.0", "grunt-rtlcss": "~2.0.1", "grunt-sass": "~2.0.0", "grunt-shell": "~2.1.0", - "grunt-stylelint": "~0.8.0", - "grunt-wp-i18n": "~1.0.0", + "grunt-stylelint": "~0.9.0", + "grunt-wp-i18n": "~1.0.1", "istanbul": "^1.0.0-alpha", "mocha": "^3.0.2", - "stylelint": "^7.8.0", + "stylelint": "~8.2.0", "wc-e2e-page-objects": "0.4.0" }, "engines": {