@rockpack/starter this is create-react-app on steroids. Supports the following types of applications:
@rockpack/starter this module is part of the Rockpack project. See more details on the official site.
React SPA – Preset for a Single Page Application using React. React SPA + SSR – Preset for a React Single Page Application with Server-Side Rendering. React Component – Preset for publishing a reusable React component to NPM. UMD Library – Preset for a vanilla JavaScript UMD library, suitable for NPM publishing.
All types of applications support:
- Import of many file formats. List of formats
- Image optimization, SVG Optimization
- Loading SVG files as React components
- CSS/SCSS/Less modules
- Babel or TS; TS support for CSS/SCSS/Less modules
- PostCSS Autoprefixer
- SEO Optimizations, React optimizations, Antd optimizations
- Support for settings via Dotenv and Dotenv safe
- Bundle Analyzer
- GraphQL support
Full list of features see here
Additionally, for each type of application, you can install:
- Configured ESLint with best practices rules @rockpack/codestyle
- Customized Jest with additions @rockpack/tester
- Installation
npm i @rockpack/starter -g
- Creating an App
rockpack <project name>
- Select the type of application.
--yarn - use Yarn as default package manager
rockpack <project name> --yarn
If you can't use @rockpack/starter or want to migrate your existing application please follow the manual for each module