Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuanpham-dev/create-pen
CLI tool for creating CodePen liked project.
https://github.com/tuanpham-dev/create-pen
cli cli-app generator liquid nodejs nodejs-cl pug sass typescript
Last synced: 9 days ago
JSON representation
CLI tool for creating CodePen liked project.
- Host: GitHub
- URL: https://github.com/tuanpham-dev/create-pen
- Owner: tuanpham-dev
- Created: 2019-05-26T18:54:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T13:56:54.000Z (almost 3 years ago)
- Last Synced: 2024-12-14T15:39:44.666Z (13 days ago)
- Topics: cli, cli-app, generator, liquid, nodejs, nodejs-cl, pug, sass, typescript
- Language: TypeScript
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/tuanpham-dev/create-pen.svg?branch=master)](https://travis-ci.org/tuanpham-dev/create-pen)
# Create Pen
CLI tool for creating CodePen liked project.## Installation
```bash
npm i -g create-pen
```## Usage
### Options
```bash
$ create-pen --help
Usage: create-pen [options]Options:
--help Show help [boolean]
--version Show version number [boolean]
--html, -h HTML preprocessor [choices: "html", "pug", "liquid"] [default: "html"]
--css, -c CSS preprocessor [choices: "css", "scss", "sass", "postcss"] [default: "css"]
--js, -j Javascript preprocessor [choices: "javascript", "coffee", "typescript"] [default: "javascript"]
--indent, -i Indent style [choices: "tab", "space"] [default: "tab"]
--indent-size, -s Indent size [default: 4]Examples:
$ create-pen mypen -h pug -c scss -j typescript create 'mypen' project with pug as html, scss as css and typescript as javascript```
### Run Development Server
```bash
$ npm start
```### Build Project
```bash
$ npm build
```### Convert Sass ⇄ SCSS
If the CSS Proprocessor is `scss` or `sass`, you can run this command to convert `scss` to `sass` or `sass` to `scss`. Required Ruby Sass to do that.
```bash
$ npm run convert
```## License
MIT © Tuan Pham