Portfolio site for Kasey Bonifacio - kaseybon.com
Requirements
Initial Setup
- Run
npm install
Run Development Environment
- Run
npm start
Run Production Environment
- Run
NODE_ENV=production npm start
- All code compiles to the
dist/
directory - All source code lives in the
src/
directory - Running the project locally in development will start a server and watch task
- Development runs on localhost://3000
- Clean - Deletes an existing
dist/
directory - Copy - Copies any assets in
src/public/
todist/
- Pages - Compiles pages in
src/pages/
todist/
- Sass - Compiles any assets in
src/scss
todist/css
- Scripts - Copies any assets in
src/js
todist/js
- Server - Spins up an Express server on localhost://3000
- Watch - Watches for any changes in
src/
files and runs the corresponding task to update the local environment
- Static pages are compiled with 11ty
- For now scripts are simple enough that they do not need more complex compile tasks
- Watch task requires a manual browser refresh