{
"name": "@cnbritain/merlin-www-section-feature",
"main": "feature",
"currentTheme": null,
"data": {
"feature": "demo/data/feature.json"
},
"js": {
"demo": "demo/demo.js"
},
"themes": {
"wireframe": "sass/wireframe/wireframe.scss",
"vogue": "sass/vogue/vogue.scss",
"missvogue": "sass/missvogue/missvogue.scss",
"wired": "sass/wired/wired.scss",
"glamour": "sass/glamour/glamour.scss"
},
"partials": {
"feature": "templates/section-feature.html"
},
"dependencies": [
"@cnbritain/merlin-www-image"
]
}
The name of the component. This should match the name in package.json. All partials and data is stored under the name to avoid namespace collisions.
This is the key of the main component template in the partials
object.
The current theme of the project. This will be resolved in the sass importer where the keyword :theme
has been used. It is best to leave this value as null in a component but set this value in the www app.
This is an object of data sources. The key represents a short name of the file. The input files must be json.
This is an object of js files. A reserved keyword of demo
is used for all the demo preview pages.
This is an object of sass files. The key represents the brand whos theme it is.
This is an object of mustache partials. The key is the name of the partial. These are imported into mustache.
This is a list of strings referencing other merlin-www-components.