Skip to content
Callum Silcock's personal website / portfolio
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
static
tools
.babelrc
.editorconfig
.eslintrc
.gitignore
.spelling
README.md
gatsby-config.js
gatsby-node.js
netlify.toml
package.json
wallaby.js
yarn.lock

README.md

Callum Silcock's website (csi.lk)

Built with:

Using JAMstack architecture

💻 Requirements

⬇️ Installation

Clone this repo and install dependencies

git clone git@github.com:csi-lk/csi.lk.git
yarn install

🔥 Development

Running start will start Gatsby and spin up a local server for you to use

yarn start

🛂 Testing

Unit tests

Are run using Jest and Enzyme

yarn test

Or to update the snapshots

yarn run test:update

💾 Scripts

Script          Usage                                     Description

help            yarn run help                              Outputs descriptions for each yarn script

start           yarn start                                 Starts a local live-reload server running
                yarn run start                             Gatbsy (runs develop)

build           yarn run build                             Builds files using Gatsby

develop         yarn run develop                           Starts a local live-reload server running
                                                          Gatbsy

serve           yarn run serve                             Runs Gatsby in serve mode

test            yarn test                                  Jest tests with coverage report
                yarn run test

test:update     yarn run test:update                       Jest tests but updates snapshots

lint            yarn run lint                              Runs all linters

lint:js         yarn run lint:js                           Javascript linter eslint

lint:js:fix     yarn run lint:js:fix                       Javascript linter eslint in fix mode
You can’t perform that action at this time.