Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-mendix

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-mendix

Mendix Widget generator

  • 1.0.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

generator-mendix Build Status

Yeoman generator for Mendix widgets.

About

This generator uses the Yeoman scaffolding tool to let you quickly create a Mendix widget based on the latest AppStoreWidgetBoilerPlate.

Prerequisites

First, you need to have NodeJs installed. After that, you need Yeoman and the generator

npm install -g yo generator-mendix

Usage

#####1.) Start the generator:

yo mendix

#####2.) The generator will ask you to provide the following information about your widget:

  • name
  • package
  • description
  • copyright
  • license
  • version
  • author
  • Github username (optional)

#####3.) Your widget will be created using the options and the boilerplate.

It will clone the boilerplate, rename your widget according to the options. It also includes a Gruntfile.js and package.json for development purposes (see below)

Grunt

The generator will include Grunt to automate your widget development. Make sure you have Grunt installed.

The following Grunt tasks are available:

  • grunt start-mendix

This will try to open the Modeler using the included test-project.

  • grunt watch (this is actually an alias for default, so you can run grunt without adding this taskname)

This watches for changes in your src folder. When a file is changed, it copies the change to the deployment-folder (so you do not have to restart your project when changing files (with the exception of .xml files)). It also automatically creates a .mpk file in your /dist and test/widgets folder.

  • grunt build

Cleans old .mpk files and creates a new one in your /dist and test/widgets folder

#####Grunt can be started from command-line, or used by Grunt-plugins for different IDE's:

TODO:

  • Gulp integration
  • Add JSHint (Grunt/Gulp) or ESLint (advantage of checking the AST for deprecated client API's)
  • Move package.json & Gruntfile.js to Boilerplate

Issues

Issues can be reported on Github.

Keywords

FAQs

Package last updated on 03 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc