Skip to content

patternfly/patternfly-react-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 18, 2023
3189508 · Dec 18, 2023

History

35 Commits
Feb 6, 2019
Jun 25, 2021
Nov 28, 2018
Nov 28, 2018
Nov 28, 2018
Nov 28, 2018
Nov 28, 2018
Nov 16, 2018
Aug 22, 2022
Jun 25, 2021
Jun 25, 2021
Jun 25, 2021
Jun 25, 2021
Feb 6, 2019
Jun 25, 2021
Jun 25, 2021
Jun 25, 2021

Repository files navigation

Patternfly Seed

Patternfly Seed is an open source build scaffolding utility for web apps. The primary purpose of this project is to give developers a jump start when creating new projects that will use patternfly. A secondary purpose of this project is to serve as a reference for how to configure various aspects of an application that uses patternfly.

Quick-start

git clone --branch javascript https://github.com/patternfly/patternfly-react-seed # clone the project
cd patternfly-react-seed # navigate into the project directory
npm install --legacy-peer-deps # install patternfly-react-seed dependencies
npm run build # build the project
npm run start:dev # start the development server

Development Scripts

Install development/build dependencies npm install --legacy-peer-deps

Start the development server npm run start:dev

Run a full build npm run build

Run the test suite npm run test

Run the linter npm run lint

Launch a tool to inspect the bundle size npm run bundle-profile:analyze

Configurations

Code Quality Tools

  • For accessibility compliance, we use react-axe
  • To keep our bundle size in check, we use webpack-bundle-analyzer
  • To keep our code formatting in check, we use prettier
  • To keep our code logic and test coverage in check, we use jest