cockatrice
Cockatrice is a static website manager that integrates the most modern tools in a seamless workflow.
Last updated 3 years ago by vesuvium .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cockatrice 
SYNC missed versions from official npm registry.

Cockatrice

Travis npm npm

Cockatrice is a static website manager that makes it really easy to create a website and manage it because it integrates the most modern tools in a seamless workflow.

Currently, the project is at an early alpha stage.

Cockatrice revolves around some principles:

  • Even if you use a theme, you're likely to change some bits here and there, add some js and so on.
  • You should not spend time figuring out how customize or extend a theme, the system should do it for you
  • Ease of configuration for simple uses, retaining the ability of advanced setups for those who need it
  • Allow to use whateve the user wants (coffescript, pug, webpack)

Usage

Install with npm

npm install -g cockatrice

Compile pug with content from frontmatter:

cockatrice compile pug template.pug output/folder -i path/to/frontmatter/folder

Compile scss:

cockatrice compile scss main.scss output.css

Replace stuff:

cockatrice compile replace path replacement -i regex

Features

Cockatrice supports pug, scss and markdown with frontmatter.

You can query for markdown content from pug.

To do

  • [ ] Use a configuration file
    • [ ] Load defaults from config
  • [ ] Add image compressor
  • [ ] Add minifiers
  • [ ] Add linters
  • [ ] Add support for running bundlers
  • [ ] Add js support
  • [ ] Add theming support
  • [ ] Improve output for actions and errors

Contributing

Contributors are welcome :)

Open an issue if you encounter any problem

Current Tags

  • 0.0.18                                ...           latest (a year ago)

18 Versions

  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |