+1 vote
in JavaScript by
Basics of plug-in Creation in Grunt.JS

1 Answer

0 votes
by
Basics of plug-in Creation
Basics of plug-in Creation

Let's see how to Create basic plug-in here.

  • For creating a new plug-in, install grunt-init
$ npm install -g grunt-init
  • Clone the grunt-init-gruntplug-in.git project from github to local
$ git clone git://github.com/gruntjs/grun-init-gruntplug-in.git ~/.grunt-init/gruntplug-in
  • Trigger the plug-in initiation
$ grunt-init gruntplug-in
  • Provide all required info for creating a plug-in like project name, desc, version, git repo,licenses, author info
  • Prepare dev environment
$ npm install
  • Finally publish
$ npm publish

Related questions

+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
+1 vote
+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
...