UNPKG

@eighteen73/nebula-create-block-template

Version:

Template for use with Nebula to scaffold blocks within a project to eighteen73 standards.

36 lines (34 loc) 676 B
const { join } = require('path'); module.exports = { blockTemplatesPath: join(__dirname, 'block-templates'), defaultValues: { author: 'eighteen73', namespace: 'nebula-blocks', textdomain: 'nebula-blocks', category: 'text', slug: 'example', title: 'Example', description: 'Example block', attributes: {}, supports: { html: false, }, wpScripts: false, wpEnv: false, version: false, editorStyle: false, style: 'file:./style.css', render: 'file:./render.php', }, variants: { default: {}, innerBlocks: {}, interactive: { supports: { html: false, interactivity: true, }, viewScriptModule: 'file:./view.js', }, }, };