-
Notifications
You must be signed in to change notification settings - Fork 8
NPM Gulp Tasks
Casper Thule edited this page Jun 12, 2018
·
4 revisions
- Node Package Manager (NPM) is a package management system used to maintain packages used by the application.
- Gulp is a build system used to build the application.
The app is built with Electron and
Node.js (v6 recommended). You need npm (comes with Node.js). Npm 3 or higher is required. Npm
can be upgraded with npm install npm@latest -g
. We use Gulp to manage tasks. It's easiest to have it installed globally (npm install -g gulp
).
After checking out the repo:
- To install node dependencies:
npm install
- To install other resources:
gulp init
- To build the UI:
gulp
- To run it:
npm start
- New NPM dependencies: Execute
npm install
- New Bower dependencies: Execute
gulp init
- Build INTO-CPS Application: Execute
gulp build
orgulp
-
gulp watch
: It will automatically detect when you save a file and run the corresponding build task so you only have to refresh the app when developing