tinymce plugin scaffolding
First, install Yeoman and generator-tinymce-plugin using npm (we assume you have pre-installed node.js).
To install a pre-release version:
npm i -g yo
npm i -g git://github.com/panhezeng/generator-tinymce-plugin.git
To install a version published to npm:
npm i -g yo
npm i -g @panhezeng/generator-tinymce-plugin
Alternatively, if you have cloned this repo from GitHub. You can symlink your local clone into your global node environment. This is particularly useful during development. From inside the folder with the cloned repo:
npm install -g yo
npm i
npm link
Then generate your new project: Create a new project folder and navigate to it in you CLI.
mkdir myApp
cd myApp
Then run the generator. If you installed from source or GitHub,
yo tinymce-plugin
or if you installed from npm:
yo @panhezeng/tinymce-plugin
- Creating a yeoman generator
- prompt question descriptor objects
- child_process_child_process_spawn_command_args_options
- shelljs cheatsheet
- semantic-release-cli setup
npm link
比npm run test
更好