gisvl.klipdf.viewer v1.0.0
NPM scripts
Quick start: what to do after a 'git pull'
npm install
Behind the scenes:
- installs all node dev-dependencies
- installs all runtime dependencies
- installs all bower components to '/bower_components/'
- copies distributable bower files to '/app/Lib/bower_dist/'
- creates a fresh viewer component javascript bundle
How to start a debug session?
npm start
or
npm run start:fast
How to keep your javascript bundle updated?
npm run watch
How to keep your css bundle updated?
npm run sass:watch
How to create a distributable for your current machine configuration?
npm run dist
Output in: /dist/
How to create a combined distributable for windows x64 and ia32?
npm run dist:all
Output in: /dist/
Version
How to manage 'version' and 'min-package-version'?
change in '/app/package.json'
How to push the viewer component to the KlipDf.web project?
npm run publish-to-klipdf.web
How to push the viewer component to the cordova project?
npm run publish-to-cordovaviewer
How to create a production deploy?
Make sure environment is correct: all externals dependencies are loaded and all bundles created.
npm install
Create the installer.
npm run dist:all:prod
Output in: /dist/
Startup ARGS
<*.klip>
Pass a filename with the .klip extension to trigger an autoload of the file.
example: '> klip.exe c:\temp\mypackage.klip'
--debug
Enables some dev goodies (app menu, debug panel, ..)
example: '> klip.exe --debug'
--archive
Use archive mode. This will slightly change the behaviour (ex. no online upgrade check, title, ..)
example: '> klip.exe --archive'
4 years ago