Name: frontend-starter-kit
Owner: Springload
Description: The building blocks of front-end development at Springload
Created: 2014-11-05 20:32:10.0
Updated: 2017-09-20 22:32:28.0
Pushed: 2017-09-14 00:00:10.0
Homepage: https://springload.github.io/frontend-starter-kit/
Size: 1435
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Springload?s reference and starter kit for front-end development.
| Important links :book: |
|——————————————————–|
| Documentation in docs/
|
| Pattern library |
| Front-end tech stack |
| Front-end principles |
| Front-end guidelines questionnaire |
| Launch QA checklists |
| Useful tooling |
Clone the project on your computer, and install Node. This project also uses nvm.
From the command-line:
/Development/sites/
clone git@github.com:springload/frontend-starter-kit.git
rontend-starter-kit
To install our dependencies:
install
en, install all project dependencies.
install
stall the git hooks.
hooks/deploy
stall global dependencies to integrate tooling with your editor of choice.
install --global sass-lint babel-eslint eslint-config-airbnb eslint eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y
Everything mentioned in the installation process should already be done.
ke sure you use the right node version.
use
art the server and the development tools.
run start
ilds frontend assets.
run build
ns linting.
run lint
ns tests.
run test
ew other available commands with:
run
We use Jest for unit tests.
n all the tests.
run test
n tests in a watcher.
run test:watch
n test coverage
run test:coverage
en the coverage report with:
run report:coverage
en the build report with:
run report:build
n the CI test suit.
run test:ci
Our projects come with a pattern library to facilitate development, documentation, and long-term maintenance.
Here are the available commands:
art the pattern library in development mode.
run patterns
port the pattern library.
run patterns:dist
preview.
run deploy:preview
production.
om your local machine, push to the master branch before pushing to the production branch so they are always both up to date.
run deploy:production
The CI tests require the following setup. Some of those might already be done within the CD build.
install
install
install -g david hyperlink
Use npm run test:ci
as part of the test pipeline.
The starter kit's demo site is hosted on GitHub Pages.
ke sure to have the styleguide generator installed.
install -g markdown-styleguide-generator
cs/deploy-pages.sh
The project's code is linted with ESLint for JavaScript and Sass Lint for Sass.
For Sublime Text 3 users, install SublimeLinter, SublimeLinter-contrib-eslint, and SublimeLinter-contrib-sass-lint.
Copy/paste & adapt Browser & device support template
Basic polyfills are included in the starter kit, and loaded via Webpack.
Analytics are set up with Google Analytics.
JavaScript errors are tracked in Google Analytics as “Exceptions”. A custom report needs to be created for this data to be visible inside the GA interface.
To generate new favicons,
core/templates/core/includes/favicons.html
file.There are a lot of development aids within the code. Use them.