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

ghost-static

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-static - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

ghost-static.json

4

bin/scrap.js

@@ -14,3 +14,3 @@ #!/usr/bin/env node

*/
const optionsPath = path.join(process.cwd(), 'scrap-ghost.json');
const optionsPath = path.join(process.cwd(), 'ghost-static.json');
let mOptions;

@@ -20,3 +20,3 @@ try {

} catch (e) {
throw new Error('Missing file scrap-ghost.json in current directory. See module documentation.')
throw new Error('Missing file ghost-static.json in current directory. See module documentation.')
}

@@ -23,0 +23,0 @@ try {

{
"name": "ghost-static",
"version": "0.1.0",
"version": "0.1.1",
"description": "A tool to convert you Ghost blog to a static website",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,28 @@

ghost-static
# Ghost-static
Convert your dynamic Ghost blog to a static website
## Installation
`npm install -g ghost-static`
Create a `ghost-static.json` in your Ghost directory:
```
{
"ghostURL": "http://localhost:2368",
"tmpFolder": "tmp/",
"staticFolder": "blog/",
"publicURL": "https://scambier.github.io/blog"
}
```
- ghostURL: the url to the local instance of Ghost.
- tmpFolder: a temporary folder where the Ghost blog will be scraped
- static: the "final" folder where you'll find your static files
- publicURL: the public url that is (or will be) used to acces your static blog
## Usage
Type `ghost-static` once your local Ghost instance is up and running.
## Requirements
NodeJS 4.8+
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