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

grunt-wigitor

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-wigitor - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "grunt-wigitor"
,"description": "A demo builder for 'widgets' - a specific UI module setup"
,"version": "0.1.0"
,"version": "0.1.1"
,"author": {

@@ -6,0 +6,0 @@ "name": "Jim Doyle"

@@ -17,8 +17,11 @@ # Grunt Wigitor

- `js` folder should contain a 'main.js'
- `scss` folder should contain a '_module.scss' and follow SMACSS guidelines for '_state.scss' and '_layout.scss'. '_vars.scss' can also be used.
- 'options.json' (see explanation below)
- README.md (see explanation below)
- `scss` folder should contain a `_module.scss` and follow SMACSS guidelines for `_state.scss` and `_layout.scss`. `_vars.scss` can also be used.
- `options.json` (see explanation below)
- `README.md` (see explanation below)
- `markup.hbs` or `markup.ejs`, depending on which template you're using. This is the default template for the widget.
- `another-template.hbs`. You may add more partials/includes as well, but they will be secondary to `markup.hbs`. (`.ejs` can also be used)
- `properties/example1.json`, which should contain a config object for your widget. Multiple json files allowed and doesn't have to be `example1.json`.
### options.json
There's also a "options.json" file in each widget, which contains options for the widget:
There's also an `options.json` file in each widget, which contains options for the widget:

@@ -53,2 +56,7 @@ 1. `configName` {string}: This is the name of the config object used when populating the template. It must be unique and should roughly folow the name of the widget with the suffix "Cnf". You can abbreviate if your have a long widget name.

- multiProps {boolean}: If `true` will search through the widget's `properties` folder and make available all json files as configs.
- handlebarsPartials {array of objects}: Objects with details of additional handlebars partials needed for this widget. Partials in the widget's root folder will automatically be added, using the naming convention `samplewgt_my-other-file`. Objects must have 2 properties `name` {string} and `path` {string}.
- handlebarsPartials {array of objects}: Objects with details of additional handlebars partials needed for this widget. Partials in the widget's root folder will automatically be added, using the naming convention `samplewgt_my-other-file`. Objects must have 2 properties `name` {string} and `path` {string}.
Releases
- 0.1.1: Minor changes to README.md. Still unstable.
- 0.1.0: Initial release. Not properly tested yet. Will probably break.
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