React-starter a react web starter kit.
git clone -b master git@github.com:lnked/react-starter.gitOR
git init
git remote add origin git@github.com:lnked/react-starter.git
git fetch origin
git pull origin masterThen run command
yarnOR
npm iStart dev-server
yarn startBuild without compress
yarn buildBuild with compress
yarn releaseAnalyze code
yarn analyzeStats
yarn statsLint scripts
yarn lint:scriptsLint styles
yarn lint:stylesLint styles and scripts
yarn lintFix
yarn run lint:fixyarn release --env exampleRequires a file .env.example file in the root folder of the project
You can add any files to your environments
yarn add-layout --name test-layout
yarn add-layout --name 'test layout'yarn add-layout --name test-layout --type class (default)
yarn add-layout --name test-layout --type functionyarn add-page --name test-page
yarn add-page --name 'test page'yarn add-page --name test-page --type class (default)
yarn add-page --name test-page --type functionyarn add-fragment --name test-fragment
yarn add-fragment --name 'test fragment'yarn add-fragment --name test-fragment --type class (default)
yarn add-fragment --name test-fragment --type functionyarn add-component --name test-component
yarn add-component --name 'test component'yarn add-component --name test-component --type class (default)
yarn add-component --name test-component' --type function- Webpack 4
- TypeScript
- Styled Components
- PostCss / scss
- Svg sprites
- MobX
- Tests
- Code generation
- Bugs / Suggestions: open an issue