In order to contribute to Snowpack, you will need Docker. If you don't know Docker, read the docs here.
If you really do not want to use Docker, you will need to install the following global dependencies with npm
npm install -g webpack webpack-dev-server karma phantomjs
Once you have installed Docker, starting a local server is as easy as running docker-compose up
. localhost:8080
will now run the mini-site available at sircelsius.github.io/snowpack.
If you're running without Docker, install dependencies with npm install
, then start your dev server with node server/index.js
.
The source code is included in ./src/lib
.
The main entry point is ./src/lib/index.js
.