Socket
Socket
Sign inDemoInstall

generator-liveblog-theme

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-liveblog-theme - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

19

generators/app/index.js

@@ -24,10 +24,17 @@ 'use strict';

name: 'name',
message: 'Your theme name',
default: this.appname.replace(/\s/g, '-')
message: 'Your theme name ( uniq key used internal )',
default: `${this.appname[0]}${this.appname.substr(1).replace(/([A-Z])/g,'-$1').replace(/\s/g, '-').toLowerCase()}`
},
{
type: 'input',
name: 'label',
name: 'description',
message: 'Your theme title',
default: this.appname
},
{
type: 'list',
name: 'base',
message: 'Which theme you want to extend',
choices: ['default', 'amp'],
default: 'default'
}

@@ -46,3 +53,3 @@ ];

this.destinationPath('package.json'),
{ name: this.props.name, label: this.props.label }
this.props
);

@@ -53,3 +60,3 @@

this.destinationPath('Makefile'),
{ name: this.props.name }
this.props
);

@@ -60,3 +67,3 @@

this.destinationPath('theme.json'),
{ name: this.props.name, label: this.props.label }
this.props
);

@@ -63,0 +70,0 @@

{
"name": "<%= name %>",
"version": "0.0.1",
"description": "<%= label %>",
"description": "<%= description %>",
"scripts": {

@@ -6,0 +6,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

{
"label": "<%= label %>",
"label": "<%= description %>",
"name": "<%= name %>",
"version": "0.1.0",
"seoTheme": true,
"extend": "default",
"seoTheme": true,<% if (base === 'amp') {%>
"ampTheme": true,
"onlyOwnCss": true,<% } %>
"extends": "<%= base %>",
"license": "AGPL-3.0",

@@ -8,0 +10,0 @@ "devStyles": ["dist/<%= name %>-undefined.css"],

{
"name": "generator-liveblog-theme",
"version": "0.4.1",
"version": "0.4.2",
"description": "Yeoman generator",

@@ -5,0 +5,0 @@ "license": "MIT",

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