@fluffy-spoon/csharp-to-typescript-generator.grunt
TypeScript icon, indicating that this package has built-in type declarations

1.19.0 • Public • Published

Installing

npm install --save-dev @fluffy-spoon/csharp-to-typescript-generator.grunt

Use

module.exports = function(grunt) {

  grunt.initConfig({
    // Generate TypeScript interfaces from C# files in Models and put them into Scripts as one .d.ts file for every .cs file.
    "@fluffy-spoon/csharp-to-typescript-generator.grunt": {
      'Scripts': ['Models/*.cs'],
      options: {
        //options go here
      }
    }

  });

  // Actually load this plugin's task(s).
  grunt.loadTasks('tasks');

  // By default, lint and run all tests.
  grunt.registerTask('default', ['@fluffy-spoon/csharp-to-typescript-generator.grunt']);

};

To see what options are available, go here: https://github.com/ffMathy/FluffySpoon.JavaScript.CSharpToTypeScriptGenerator

Readme

Keywords

none

Package Sidebar

Install

npm i @fluffy-spoon/csharp-to-typescript-generator.grunt

Weekly Downloads

0

Version

1.19.0

License

ISC

Unpacked Size

8.53 kB

Total Files

8

Last publish

Collaborators

  • ffmathy