Gulp fixes
This commit is contained in:
parent
244ea39f92
commit
4532570410
|
@ -116,7 +116,9 @@ function install() {
|
|||
let packageFiles = ['front/package.json'];
|
||||
let services = fs.readdirSync(servicesDir);
|
||||
services.forEach(service => {
|
||||
packageFiles.push(`${servicesDir}/${service}/package.json`);
|
||||
let packageJson = `${servicesDir}/${service}/package.json`;
|
||||
if (fs.existsSync(packageJson))
|
||||
packageFiles.push(packageJson);
|
||||
});
|
||||
return gulp.src(packageFiles)
|
||||
.pipe(print(filepath => {
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
"test": "nodemon -q back/tests.js -w modules",
|
||||
"dbtest": "nodemon -q services/db/tests.js -w services/db/tests",
|
||||
"services": "nodemon --inspect -w modules ./node_modules/gulp/bin/gulp.js services",
|
||||
"lint": "eslint ./ --cache --ignore-pattern .gitignore"
|
||||
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
||||
"docker": "docker build -t salix-db ./services/db"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue