mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[deploy] refactoring for deployment scripts
This commit is contained in:
@ -99,7 +99,7 @@ module.exports = function(grunt) {
|
|||||||
grunt.loadNpmTasks('grunt-contrib-htmlmin');
|
grunt.loadNpmTasks('grunt-contrib-htmlmin');
|
||||||
grunt.loadNpmTasks('grunt-json-minify');
|
grunt.loadNpmTasks('grunt-json-minify');
|
||||||
grunt.loadNpmTasks('grunt-text-replace');
|
grunt.loadNpmTasks('grunt-text-replace');
|
||||||
grunt.loadNpmTasks('grunt-mocha');
|
// grunt.loadNpmTasks('grunt-mocha');
|
||||||
grunt.loadNpmTasks('grunt-inline');
|
grunt.loadNpmTasks('grunt-inline');
|
||||||
grunt.loadNpmTasks('grunt-svgmin');
|
grunt.loadNpmTasks('grunt-svgmin');
|
||||||
grunt.loadNpmTasks('grunt-exec');
|
grunt.loadNpmTasks('grunt-exec');
|
||||||
@ -524,7 +524,7 @@ module.exports = function(grunt) {
|
|||||||
options: {
|
options: {
|
||||||
cwd: '../vendor/framework7-react',
|
cwd: '../vendor/framework7-react',
|
||||||
},
|
},
|
||||||
cmd: 'npm i',
|
cmd: 'npm i --include=dev',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -23,11 +23,11 @@
|
|||||||
"iconv-lite": "^0.5.1",
|
"iconv-lite": "^0.5.1",
|
||||||
"less-plugin-clean-css": "1.5.0",
|
"less-plugin-clean-css": "1.5.0",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
|
"grunt-exec": "^3.0.0",
|
||||||
"vinyl-fs": "^3.0.3"
|
"vinyl-fs": "^3.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "1.9.1",
|
"chai": "1.9.1",
|
||||||
"grunt-exec": "^3.0.0",
|
|
||||||
"mocha": "^6.2.2",
|
"mocha": "^6.2.2",
|
||||||
"grunt-mocha": "^1.0.0"
|
"grunt-mocha": "^1.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user