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

grunt-mock2easy

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-mock2easy

mock接口,生成md文档

  • 0.1.11
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by77.78%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-mock2easy

mock接口,生成md文档

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-mock2easy --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-mock2easy');

The "mock2easy" task

Overview

In your project's Gruntfile, add a section named mock2easy to the data object passed into grunt.initConfig().

grunt.initConfig({mock2easy: {
       port:3100,
       database:'mock2easy',
       doc:'doc'
   },
});

Options

options.port

Type: String Default value: 3100

启动的服务的端口号,保证端口不冲突即可.

options.database

Type: String Default value: mock2easy

接口数据的生成位置

options.doc

Type: String Default value: doc

接口文档的生成位置

Release History

Keywords

FAQs

Package last updated on 11 Jul 2014

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