1.0.7 • Published 3 years ago

@wfp/create-design-system v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Create Design System PRs Welcome

Create Design System is a tool to initialize a design-system boilerplate with no build configuration.

Quick Overview

npx create-design-system my-design-system
cd my-design-system
yarn react:start

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Then open http://localhost:3000/ to see your app. When you’re ready to deploy to production, create a minified bundle with npm run build.

Creating an App

You’ll need to have Node 14.0.0 or later version on your local development machine (but it’s not required on the server). We recommend using the latest LTS version. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.

You also need yarn since we are using yarn workspaces in the default configuration.

To create a new app, you may choose one of the following methods:

npx

npx @wfp/create-design-system my-design-system

(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)

Yarn

yarn create @wfp/design-system my-design-system

yarn create <starter-kit-package> is available in Yarn 0.25+

It will create a directory called my-design-system inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies: