diff --git a/.dev-tasks.json b/.dev-tasks.json index 87ce72b..e73dfba 100644 --- a/.dev-tasks.json +++ b/.dev-tasks.json @@ -1,8 +1,8 @@ { - "packagePrefix": "cmf", - "framework": "cmf.core", - "webAppPrefix" : "cmf.core", - "isWebAppCompilable" : true, - "dependencies" : ["cmf.core.multicast.client", "cmf.style", "cmf.style.dark.blue", "cmf.style.light.blue", "cmf.style.blue", "cmf.style.blue.grey"], - "packages": ["cmf.core.controls","cmf.core.business.controls","cmf.core.dashboards","cmf.core.admin.host","cmf.core.shell","cmf.core.checklist","cmf.core.documents","cmf.core.fablive","cmf.core.examples","cmf.core.admin.i18n"] + "packagePrefix": "", + "framework": "", + "webAppPrefix" : "", + "isWebAppCompilable" : false, + "dependencies" : [], + "packages": [] } \ No newline at end of file diff --git a/README.md b/README.md index 4b18cf8..7375351 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repository is meant to be a quick and easy way of getting started with CMF ## Before you start Make sure: -* node@6.x+ and npm@4.x+ are installed; +* node@8.x+ and npm@5.x+ are installed; * You have access to the Critical Manufacturing Setup with the version of the HTML5 you want to customize; @@ -22,7 +22,7 @@ npm install -g yo 2. Clone this repository into your repository root. -3. Edit the package.json file and replace the name and description of the package for one of your know. +3. Edit the package.json file and replace the name and description of the package. 4. Run: @@ -34,4 +34,4 @@ npm install This package was developed during the [UX-FAB: Universal Experience for Advanced Fabs](http://www.criticalmanufacturing.com/en/r-d/ux-fab) project. -![Portugal2020](http://www.criticalmanufacturing.com/uploads/richtext/images/2017030610420258bd3cfa033c0.png) \ No newline at end of file +![Portugal2020](http://www.criticalmanufacturing.com/uploads/richtext/images/2017030610420258bd3cfa033c0.png) diff --git a/gulpfile.js b/gulpfile.js index 7260df6..0c7fa4a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -14,7 +14,7 @@ var gulp = require('gulp'), applyOps = null; if (typeof _framework === "string" && _framework !== "") { - tasks = require("./src/cmf.core/gulpfile.js")(gulp, "cmf.core"); + tasks = require("./src/" + _framework + "/gulpfile.js")(gulp, _framework); } _dependencies.forEach(function (dep) { require(_dependenciesPath + dep + "/gulpfile.js")(gulp, dep);