Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

voorhoede/performance-masterclass-2017-01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front-end Performance Masterclass

Quick start

This project requires Node.js and npm.

After installing dependencies using npm install the following scripts are available on all exercise branches:

npm run ... Description
build Copies and optimises files from src/optimised/ to dist/optimised/.
start Starts an Express.js server on http://localhost:3004.
watch Watches for file changes and triggers relevant (sub) build tasks.

More (sub) tasks are available in package.json > scripts.

Setup

src/
    ├── original/     <-- copy of getbootstrap source with small changes.
    └── optimised/    <-- working directory for this masterclass, based on original.
        └── _base/    <-- templates shared between pages.

dist/
    ├── original/     <-- copy of src/original/, generated via `npm run copy:original`.
    └── optimised/    <-- optimised version of src/optimised/, generated via `npm run build`.
    
tasks/                <-- build tasks called from `package.json`.

server-original.js    <-- serves `dist/original/` on `localhost:3003`.
server-optimised.js   <-- serves `dist/optimised/` on `localhost:3004`.

Exercises

Solutions are linked from each individual exercise.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages