From b8ec15dacbc0a781e7f901d5a2f500cfc0eea07a Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 16 Jun 2021 20:20:06 +0300 Subject: [PATCH] [deploy] refactoring for deployment scripts --- build/Gruntfile.js | 4 ++-- build/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Gruntfile.js b/build/Gruntfile.js index 3261b2c18..58af0a5c9 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -99,7 +99,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-htmlmin'); grunt.loadNpmTasks('grunt-json-minify'); grunt.loadNpmTasks('grunt-text-replace'); - grunt.loadNpmTasks('grunt-mocha'); + // grunt.loadNpmTasks('grunt-mocha'); grunt.loadNpmTasks('grunt-inline'); grunt.loadNpmTasks('grunt-svgmin'); grunt.loadNpmTasks('grunt-exec'); @@ -524,7 +524,7 @@ module.exports = function(grunt) { options: { cwd: '../vendor/framework7-react', }, - cmd: 'npm i', + cmd: 'npm i --include=dev', }, } }); diff --git a/build/package.json b/build/package.json index 0ffe7ce6c..f16bcf600 100644 --- a/build/package.json +++ b/build/package.json @@ -23,11 +23,11 @@ "iconv-lite": "^0.5.1", "less-plugin-clean-css": "1.5.0", "lodash": "^4.17.20", + "grunt-exec": "^3.0.0", "vinyl-fs": "^3.0.3" }, "devDependencies": { "chai": "1.9.1", - "grunt-exec": "^3.0.0", "mocha": "^6.2.2", "grunt-mocha": "^1.0.0" }