4.0.0 • Published 2 years ago

@designsystemsinternational/scaffold v4.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

Scaffold

This is a command-line tool to generate a sensible React project scaffold. Goes nicely hand in hand with @designsystemsinternational/static for deployment.

The generated project comes with a solid webpack.config.js package setup:

  • ES6 and React compilcation with Babel
  • CSS with PostCSS and CSS Modules
  • Development server with hot module loading and automatic port allocation
  • Production build with minification, file fingerprinting, and CSS class renaming
  • Automatic image resizing via import for jpg and png images
  • Automatic conversion of svg to React components via import
  • All other assets files are handled via file-loader
  • Support for .env files that are loading into client side process.env.VAR_NAME
  • Default hooks to load data from API's, etc
  • Optional testing with Jest and Enzyme

Usage

First install the command line tool

$ npm i -g @designsystemsinternational/scaffold

Then run the generator and follow the instructions.

$ scaffold
4.0.0

2 years ago

3.3.11

3 years ago

3.3.9

3 years ago

3.3.4

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.0.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

4 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