2.0.1 • Published 5 years ago

@jrbbtech/generator-setup v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

JRBB Technology "Setup" generators

Generators to setup projects for node, typescript, and frontend frameworks such as React with organizations formatting and linting rules.

Install

npm install -g yo @jrbbtech/generator-setup

(s)css fontsize

html {
  font-size: 62.5%;
}

body {
  font-size: 14px;
  font-size: 1.4rem;
} /* =14px */

html,
body {
  margin: 0;
  padding: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

Generators

codestyle

All generators include the codestyle generator which adds .prettierrc.json, .prettierignore, and .editoconfig files to the project.

NodeJS

Installs jest and eslint with prettier config & plugin with es6 support.

yo @jrbbtech/setup:node

NodeJS with typescript

Installs jest, typescript, and tslint with prettier config & plugin.

yo @jrbbtech/setup:tsnode

(s)css stylelint

Install stylelint with a11y and prettier config and plugin with scss support.

yo @jrbbtech/setup:stylelint

React

Installs sass support and runs the stylelint generator (and codestyle).

yo @jrbbtech/setup:react

React with typescript

Installs sass support and runs the stylelint generator (and codestyle) and adds Typescript as per the documentation for Create React App.

yo @jrbbtech/setup:tsreact

Starting the Create React App afterwards will generate the tsconfig.json file.

Next

Installs sass support and runs the stylelint generator (and codestyle).

yo @jrbbtech/setup:next

Next with typescript

Installs sass support and runs the stylelint generator (and codestyle) and adds Typescript as per the documentation for Create Next App.

yo @jrbbtech/setup:tsnext

Starting the Create Next App afterwards will generate the tsconfig.json file.

License

MIT License

2.0.1

5 years ago

2.0.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago