Instead of using this project, prefer better and modern alternatives
import()
function>=
v6;git clone git@github.com:fdaciuk/workflow-reactjs.git
;.git
directory;yarn
(or npm i
);yarn dev
(or npm start
) to develop on http://localhost:3000
yarn build
(or npm run build
) for production build (files will be generated on dist
directory)If you are on Windows, and try to run yarn lint
, you'll get an error
because spawn
module does not work very well on Windows.
You should install cross-spawn
, and edit gulpfile.js
, removing line 4
and
uncomment line 7
.
A big thanks to @hgtpcastro for this tip.
yarn dev (or npm run dev)
: Starts the application on development modeyarn test (or npm test)
: Run tests onceyarn test:watch (or npm run test:watch)
: Run tests in watch modeyarn build (or npm run build)
: Build project to productionyarn build:analyzer (or npm run build:analyzer)
: Build project to production and open bundle analyzer on 8888
portyarn storybook (or npm run storybook)
: Run Storybook on 6006
portyarn storybook:build
: Build Storybook to static filesyarn update-packages
: Update all packages to the latest versionyarn start (or npm start)
: Special script reserved to run production code. Change as you wish. For now, it is the same as yarn dev
.MIT © Fernando Daciuk