Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

treycordova/grunt-nativejsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'}.

About

Grunt plugin for nativejsx. 💛

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published