generator-mapapps
v1.4.0
Published
A generator for con terra GmbH map.apps. With it, the scaffolding of new bundles and apps will be easy.
Downloads
34
Maintainers
Readme
generator-mapapps
A generator for con terra GmbH map.apps. With it, the scaffolding of new bundles will be easy.
Installation
First, install Yeoman and generator-mapapps using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-mapapps
Usage
With
yo mapapps
you can launch the generator. It provides a selection wheather you want to create an app or a bundle.
To skip the selection and start with the sub-generator directly, simply type yo mapapps:app
to generate an app or yo mapapps:bundle4x
to generate a bundle.
Ideas for further Versions
- adding of additional components after initital scaffolding
- adding a live-configuration widget
- bootstrapping a complete map.apps project based on mapapps-4-developers
Release Note
1.2.0
- Allow creation of additional components after bundle initialization - When
yo mapapps
is run inside an existing bundle folder, it is detected automatically as a bundle and an option to create a component instead of a bundle or app. This includes the componentName.js file, entry in bundle's manifest.json and module.js. Even tests are pre-populated for you.
1.1.0
- Allow selection of sub-generator (bundle4x, bundle3x or app3x) through CLI
1.0.0
- Allow creation of map.apps 4.x style Bundles (ES2015+ and simplified manifest.json keys)
0.0.9
- Creation of test folder inside the bundle so that intern tests are prepared and wait to be filled by a brave developper
License
Apache-2.0 © Julian Kuhlmann