[deploy] refactoring for deployment scripts

This commit is contained in:
Maxim Kadushkin 2021-06-16 20:20:06 +03:00
parent f9a705efe0
commit b8ec15dacb
2 changed files with 3 additions and 3 deletions

View file

@ -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',
},
}
});

View file

@ -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"
}