cra-template-brickheadz-standard

0.0.5 • Public • Published

npm version semantic-release issues

A quick start Redux + Node Sass and Linting Create React App template

An opinionated quick start Create React App (CRA) template with configured Redux, Node Sass, React Router and custom ESlint configuration.

Original Create React App README available here

Usage

npx create-react-app your-project-name --template brickheadz-standard

Or

yarn create-react-app your-project-name --template brickheadz-standard

npx command installs the most recent stable version of CRA from npm.

--template parameter points to this template, note that cra-template- prefix is omitted.

Available Scripts

In the project directory, you can run:

  • yarn start - runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

  • yarn test - launches the test runner in the interactive watch mode.

  • yarn build - builds the app for production to the build folder.

  • yarn eject - exposes content of react-script package

  • yarn lint - lints project files according to eslint rules, see below. Typical use case: continuous integration environments, Travis, CircleCI, etc.

  • yarn lint:fix - same as yarn lint, but also fixes errors, when possible. Typical use case: local development environment, git hooks.

Due to CRA template limitations (we can change only scripts and dependencies inside generated package.json) all configuration is done by adding config files where possible. Also no devDependencies for now, sorry (all devDependencies are inside dependencies).

Testing template locally

To test the output of your template locally run

npx create-react-app my-app --template file:/\path\to\file

Package Sidebar

Install

npm i cra-template-brickheadz-standard

Weekly Downloads

6

Version

0.0.5

License

MIT

Unpacked Size

44.2 kB

Total Files

29

Last publish

Collaborators

  • brickheadz