16.davidosomething.com
1.0.0
Static generated site for davidosomething.com
Requires node >= 8.9.2 (I recommend using nvm, for which nvm use (or nvm install) will read .nvmrc and use the version of node specified there.
Install dependencies:
npm install --global gulp jspm
npm install
jspm installNote that gulp and jspm are only installed globally for local dev, whereas
the CI-deployment uses npm run so the binaries in node_modules/.bin/ are in
the path. You could technically use npm run ci-gulp-build if you don't want
to install gulp globally.
gulp lint will run all lint tasksgulp lint:js will run all lint tasksgulp lint:md:markdownlint will run markdownlint on the md/ directory.
Markdown linting is not a build step and is done on demand only.gulp ci:lint will run all lint tasks (except markdown), this is for CI
serversgulp to build.gulp serve to start a local development server (via browser-sync)npm start to start an on-going browser-sync sessionThere are npm scripts in package.json to build via CI.
Output is generated to public/ and, if running on master from Travis,
the directory is deployed to surge.sh and the GitHub Pages repo.
Deployment from Travis CI is configured in bin/travis-deploy.sh.