React Starter Kit
React-starter a react web starter kit.
git clone -b master git@github.com:lnked/react-starter.git
OR
git init
git remote add origin git@github.com:lnked/react-starter.git
git fetch origin
git pull origin master
Then run command
yarn
OR
npm i
Start dev-server
yarn start
Build without compress
yarn build
Build with compress
yarn release
Analyze code
yarn analyze
Stats
yarn stats
Lint scripts
yarn lint:scripts
Lint styles
yarn lint:styles
Lint styles and scripts
yarn lint
Fix
yarn run lint:fix
yarn release --env example
Requires 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 function
yarn 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 function
yarn 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 function
yarn 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