🐣 Website for McHacks 6
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Move Github templates out of folder (#72) Nov 11, 2018
src Promo kit (#113) Dec 17, 2018
.eslintrc.js
.gitignore
.stylelintrc.js Update build tooling (#39) Sep 16, 2018
.travis.yml
README.md update README pic Nov 3, 2018
package.json Bump mini-css-extract-plugin from 0.4.2 to 0.5.0 Dec 18, 2018
postcss.config.js
webpack.config.common.js
webpack.config.dev.js Update build tooling (#39) Sep 16, 2018
webpack.config.prod.js Update build tooling (#39) Sep 16, 2018
yarn.lock Bump mini-css-extract-plugin from 0.4.2 to 0.5.0 Dec 18, 2018

README.md

McHacks logo

Travis CI Build

This is the repository for the static landing page for McHacks 6. Code based upon boilerplate here.

Setup

  1. Make sure you have node and yarn installed.
  2. Run yarn.

Folder structure

📁dist        -- contains production-ready code
📁src         -- source code folder
|--📁js       -- script files
|--📁static   -- static assets (images, fonts, etc.)
|--📁style    -- SCSS style sheets
...

Available scripts

  • yarn build: Builds /src into /dist. Minifies, transpiles, etc.
  • yarn start: Runs a build, then starts the production server from the /dist folder on localhost:8080.
  • yarn start:dev: Starts the development server at localhost:9000.
  • yarn lint:html: Lint stylesheets with stylelint.
  • yarn lint:js: Lint scripts with ESLint.
  • yarn lint:styles: Lint stylesheets for a11y issues.

Deployment

Our Continuous Integration is set up to automatically deploy a production build to the gh-pages branch upon any successful merge to master. (N.B. The master branch is protected, so any new changes must pass through a PR.)