grunt-nativejsx

2.0.0 • Public • Published

grunt-nativejsx Build Status Version Status

Grunt task for nativejsx.

Hello fellow Grunters, go hog-wild over this nativejsx Gruntjs plugin (snorts).

Installation

This plugin requires Grunt ~0.4.5

Install grunt-nativejsx by running this command in your project folder:

npm install grunt-nativejsx --save-dev

Add this to your Gruntfile.js:

grunt.loadNpmTasks('grunt-nativejsx');

Configuration

grunt.initConfig({
  nativejsx: {
    options: {
      // Task-specific options go here.
    },
    your_subtask: {
      // Target-specific file lists and/or options go here.
    },
  },
});
Options
  • options.declarationType: Either var (default), const, or let.
  • options.variablePrefix: Any string (defaults to $$) you can conjure up that produces a valid JavaScript variable.
  • options.acorn: All acorn options are available here. Defaults to {plugins: {jsx: true}, ecmaVersion: 6, sourceType: 'module'}.

Package Sidebar

Install

npm i grunt-nativejsx

Weekly Downloads

2

Version

2.0.0

License

none

Last publish

Collaborators

  • treycordova