Nondeterministic Programming Methodology
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

@thinkmill/shed

0.0.7 • Public • Published

🚲 The Ol' Bike Shed

What

A series of simple scripts (aka recipes) to scaffold up a project with Thinkmill specific conventions.

Prerequisites

node >=8
yarn
# If you don't have it, `brew install yarn` 

Usage

$ npx @thinkmill/shed
# or 
$ npm i -g @thinkmill/shed

Example

$ mkdir new-project && cd new-project
$ npx @thinkmill/shed

Recipes

Base

Your stock standard TM devDependencies and config files.

# Dir structure 
.
├── .babelrc
├── .circleci
│   └── config.yml
├── .editorconfig
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .prettierrc
├── __test__
│   └── index.spec.js
├── package.json
└── yarn.lock

React (I think this needs some work...)

A stripped-down version of create-react-app.

Contributing

It's easy to add or upgrade a recipe. There's 3 places you'll need to add your code:

  1. ./src/recipes - Add your recipe to make sure Inquirer knows what to look for.
  2. ./src/config/[your-recipe-config] - Amend or add any config to the config files.

Todo

  • Extend it to accomodate different types of 'recipes'
  • Add Inquirer
  • Precommit, prepublish and ci scripts.
  • Publish to npm
  • Get buy-in from everyone to contribute to this repo
  • Watch everyone else flesh this thing out....

Keywords

none

install

npm i @thinkmill/shed

Downloadsweekly downloads

0

version

0.0.7

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability