grunt run npm install
This commit is contained in:
@@ -382,6 +382,10 @@ module.exports = grunt => {
|
||||
.finalize();
|
||||
});
|
||||
|
||||
grunt.registerTask('npm-install', () => {
|
||||
cp.execSync("npm install", {stdio: 'inherit'});
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-mkdir');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
@@ -412,6 +416,7 @@ module.exports = grunt => {
|
||||
|
||||
grunt.registerTask('default', [
|
||||
'composer',
|
||||
'npm-install',
|
||||
'offline',
|
||||
]);
|
||||
|
||||
|
||||
+8
-3
@@ -1,13 +1,18 @@
|
||||
{
|
||||
"name": "espocrm",
|
||||
"version": "6.1.7",
|
||||
"description": "",
|
||||
"main": "index.php",
|
||||
"description": "Open-source CRM.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/espocrm/espocrm.git"
|
||||
},
|
||||
"author": "",
|
||||
"scripts": {
|
||||
"build": "grunt",
|
||||
"test": "grunt run-tests",
|
||||
"test-unit": "grunt run-unit-tests",
|
||||
"test-integration": "grunt run-integration-tests"
|
||||
},
|
||||
"author": "Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko",
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"archiver": "^3.1.1",
|
||||
|
||||
Reference in New Issue
Block a user