Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

component-skel/component-skel

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Component skel

Jumpstart component development.

Use component skel to add a skeleton to work from right after beginning work on your component. I made this because I got tired of copying my test/ directory from one component to the next, and copying the same make targets over and over.

Currently you need to grap skeletons yourself and put them in ~/.component/skel; that might become automatic or somewhat managed in the future.

Usage

component skel [skel-name]

Install skeletons in ~/.component/skel/

skel.json

extends: [str, ...]

Names of skeletons this extends. They will be installed from left to right, and then the current one.

files: [glob, ...]

Files to copy over

parse: [glob, ...]

Files in which to interpolate. Values within "{{{" and "}}}" will be interpolated. Values which can be interpolated:

  • fullName: namespace/name
  • name
  • namespace
  • title: name made Title case

make: bool

If true, add rules from provided Makefile to existing makefile. All .PHONY from resulting file will be condensed. If false and there is a Makefile provided, the existing one will be overwritten.

dependencies: {name: version, ...}

Components to add

development: {name: verson, ...}

Components to add --dev

node

{
    "dependencies": { "name": "version", ... },
    "devDependencies": { "name": "version", ... },
}

About

Skeleton manager for jumpstarting component development

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.