0.1.0 • Published 9 years ago
generator-quaint-plugin v0.1.0
generator-quaint-plugin
Generate scaffolding for a Quaint plugin written in Earl Grey.
Usage
npm install -g generator-quaint-plugin
yo quaint-pluginYou may write your plugin in JavaScript, or in Earl Grey.
JavaScript
Resulting directory structure:
quaint-my-plugin
.gitignore
.npmignore
package.json
quaint-setup.js
lib
index.js
setup.jsindex.jscontains the plugin codesetup.jscontains the code to configure the plugin interactively
Earl Grey
Resulting directory structure:
package-root
.gitignore
.npmignore
package.json
quaint-setup.js
src
index.eg
setup.eg
test
mocha.opt
test.egindex.egcontains the plugin codesetup.egcontains the code to configure the plugin interactively
Commands
In an Earl Grey project, the following commands are defined for convenience:
To compile the project to JS:
npm run compileLazy version of compile:
npm run refresh