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

harold-scripts

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harold-scripts - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

3

package.json
{
"name": "harold-scripts",
"version": "0.2.1",
"version": "0.3.0",
"description": "Harold JS Scripts for Create Harold App",

@@ -31,2 +31,3 @@ "author": "Julian Ćwirko (julian.io)",

"commander": "^7.1.0",
"cosmiconfig": "^7.0.0",
"cross-spawn": "^7.0.3",

@@ -33,0 +34,0 @@ "dateformat": "^4.5.1",

@@ -0,6 +1,16 @@

const { cosmiconfigSync } = require('cosmiconfig');
const explorerSync = cosmiconfigSync('harold');
const loaded = explorerSync.search(process.cwd());
module.exports = {
srcDirName: 'src',
layoutsDirName: 'blog-layouts',
layoutsDirName:
loaded && loaded.config && loaded.config.mdFilesLayoutsDirName
? loaded.config.mdFilesLayoutsDirName
: 'blog-layouts',
partialsDirName: 'partials',
postsDirName: 'posts',
postsDirName:
loaded && loaded.config && loaded.config.mdFilesDirName
? loaded.config.mdFilesDirName
: 'posts',
pagesDirName: 'pages',

@@ -7,0 +17,0 @@ assetsDirName: 'assets',

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