Sample Pac-Man App to handle 5X5 grid
App is hosted on https://pacman-5-5.appspot.com
yarn start
ornode yarn-local.js start
(Run the local webpack dev server environment with browsersync FYI, there seems to be issue with browsersync if so useyarn prod
)yarn prod
ornode yarn-local.js prod
(Create and serve the production package)yarn prod:build
ornode yarn-local.js prod:build
(Create the production package)yarn dll
ornode yarn-local.js dll
(Generate the DLL bundle)yarn update:cache
ornode yarn-local.js update:cache
(Delete yarn cache, node_modules and cache packages and install fresh package)
- Run
yarn dll
ornode yarn-local.js dll
(this will only need to be done once at the start, and then you will be prompted when you need to run again due to updates) - Run
yarn start
ornode yarn-local.js start
- Update the code
- Track your changes using git
- Push your code
Any changes will be watched and auto refreshed in the browser
If you wish to add a new package you can do so by below command
yarn add <package>
OR
for dev dependencies
yarn add <package> -D
To update packages
yarn upgrade
Below are the details related to differnt types of commits