It almost works.
Global dependencies:
npm install -g bower gulp
Local dependencies:
npm install
Building app files into phonegap/www:
gulp build
orgulp watch
(autobuild)
npm run release [android|ios]
Cordova serve:
npm start
orgulp develop
(autobuild, autorestart)
Using the phonegap previewer:
npm install -g phonegap
cd phonegap && phonegap serve
Emulation:
npm install -g ios-sim
npm run emulator [android|ios]
Side loading:
npm install -g ios-deploy
npm run device [android|ios]