This project is hosted by github pages at https://ayayem.github.io/new-world-skill-xp/
- Clone/download repo
yarn install
(ornpm install
for npm)
Development
yarn run start-dev
- Build app continuously
- App served @
http://localhost:5000
Note: For fast-refresh to work, you need to install react-devtools for your browser, as an extension.
Production
yarn run start-prod
- Build app once to
/build/
- App served @
http://localhost:3000
All commands
Command | Description |
---|---|
yarn start-dev |
Build app continuously (HMR enabled) and serve @ http://localhost:8080 |
yarn start-prod |
Build app once (HMR disabled) to /dist/ and serve @ http://localhost:3000 |
yarn build |
Build app to /dist/ |
yarn lint |
Run linter |
yarn lint:fix |
Run linter and fix issues |
yarn start |
(alias of yarn run start-dev ) |
Note: replace yarn
with npm
in package.json
if you use npm.