1.5.7 • Published 5 years ago
nanosite v1.5.7
Nanosite
Extremely simple, extremely oppinionated static site generator.
To get going run:
npm init
npm i --save nanosite
npx nanosite init
npx nanosite start
And you hit the ground running!
Folder example
src
├─ assets
│ ├─ images
│ ├─ js
│ │ └─ app.js
│ └─ style
│ └─ style.scss
├─ pages
│ ├─ blog
│ │ ├─ article-1.pug
│ │ └─ index.pug
│ └─ index.pug
├─ partials
│ └─ _layout.pug
├─ translations.json
└─ context.js
Commands
nanosite [command]
Commands:
nanosite build [inputPath] [outputPath] Build your site
nanosite serve [inputPath] Serve up the site
nanosite watch [inputPath] [outputPath] [pattern] Watch for changes and build when detected
nanosite start [inputPath] [outputPath] [pattern] Watch and serve the site
nanosite init [outputPath] Bootstrap a new site
Options:
--version Show version
--help Show help
1.5.7
5 years ago
1.5.5
5 years ago
1.5.4
5 years ago
1.5.3
5 years ago
1.5.6
5 years ago
1.5.0
5 years ago
1.4.8
5 years ago
1.4.7
5 years ago
1.4.6
5 years ago
1.4.3
5 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.2.0
5 years ago
1.2.1
5 years ago
1.1.0
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.0.4
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago