All Projects β†’ jaydenseric β†’ Barebones

jaydenseric / Barebones

A barebones boilerplate for getting started on a bespoke front end.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Barebones

Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+1185.83%)
Mutual labels:  eslint, stylelint, babel, postcss
Express Webpack React Redux Typescript Boilerplate
πŸŽ‰ A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+22.83%)
Mutual labels:  eslint, stylelint, babel, yarn
React Itunes Search
🎡Simple web app for itunes search with React
Stars: ✭ 147 (+15.75%)
Mutual labels:  webpack2, eslint, babel, postcss
Front End Guide
πŸ“š Study guide and introduction to the modern front end stack.
Stars: ✭ 14,073 (+10981.1%)
Mutual labels:  eslint, stylelint, babel, yarn
dva-typescript-antd-starter-kit
A admin dashboard application demo based on antd by typescript and dva
Stars: ✭ 61 (-51.97%)
Mutual labels:  stylelint, postcss, eslint
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (-3.15%)
Mutual labels:  eslint, stylelint, postcss
starbase
⭐ Production-ready website boilerplate made with webpack 5, modern JS (via Babel 7) & Sass
Stars: ✭ 70 (-44.88%)
Mutual labels:  stylelint, babel, eslint
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (+177.95%)
Mutual labels:  eslint, babel, postcss
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (+13.39%)
Mutual labels:  webpack2, eslint, babel
react-enterprise-starter-kit
Highly Scalable Awesome React Starter Kit for an enterprise application with a very easy maintainable codebase. πŸ”₯
Stars: ✭ 55 (-56.69%)
Mutual labels:  babel, postcss, eslint
React Boilerplate
This project is deprecated. Please use CRA instead.
Stars: ✭ 88 (-30.71%)
Mutual labels:  babel, yarn, postcss
react-js-boilerplate
A React + Redux + HOT + Webpack + Material-UI + Sass boilerplate
Stars: ✭ 14 (-88.98%)
Mutual labels:  stylelint, eslint, webpack2
electron-vue-boilerplate
Simple boilerplate for building Vue app with Electron and Webpack.
Stars: ✭ 53 (-58.27%)
Mutual labels:  stylelint, postcss, eslint
Webpack-Starter-Kit
Webpack 4 stater kit with SCSS, PostCSS, Babel & ESLint
Stars: ✭ 41 (-67.72%)
Mutual labels:  babel, postcss, eslint
Astexplorer.app
https://astexplorer.net with ES Modules support and Hot Reloading
Stars: ✭ 65 (-48.82%)
Mutual labels:  eslint, babel, postcss
Web Configs
Common configurations for building web apps at Shopify
Stars: ✭ 302 (+137.8%)
Mutual labels:  eslint, stylelint, babel
Budgeting
Budgeting - React + Redux + Webpack (tree shaking) Sample App
Stars: ✭ 971 (+664.57%)
Mutual labels:  webpack2, eslint, babel
Bathe
The simplest WordPress starter theme including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, Eslint, imagemin, Browsersync, etc.
Stars: ✭ 65 (-48.82%)
Mutual labels:  eslint, stylelint, postcss
Express Mongoose Es6 Rest Api
πŸ’₯ A boilerplate application for building RESTful APIs Microservice in Node.js using express and mongoose in ES6 with code coverage and JsonWebToken Authentication
Stars: ✭ 2,811 (+2113.39%)
Mutual labels:  eslint, babel, yarn
React Ssr Setup
React Starter Project with Webpack 4, Babel 7, TypeScript, CSS Modules, Server Side Rendering, i18n and some more niceties
Stars: ✭ 678 (+433.86%)
Mutual labels:  eslint, babel, postcss

Barebones

Github release Github issues Github stars

A barebones boilerplate for getting started on a bespoke front end.

Setup

For development tools and building:

  1. Install the latest Node.js and NPM.
  2. Install the latest Yarn.
  3. Run yarn within the project root directory in Terminal.
  4. Run yarn run build:watch.
  5. Run yarn run start in another tab. Tada!

Ensure your editor supports:

After inspecting the example components:

  1. Remove Barebones examples and references. Within the project directory in Terminal run yarn run init. This script also deletes itself.
  2. Customize the meta in /index.html.
  3. Customize the icons in /content.
  4. Customize the Browserslist browser support queries in /package.json for build tools.
  5. Edit /readme.md to be about your project.
  6. Re-run the build and start scripts. A clean slate!

Structure

  • /components contains a sub-directory for each component, holding source JS, styles and image assets. Avoid nesting component directories as a flat structure guarantees unique component names, makes paths less complex and encourages reuse.
  • /components/app is the top component for the entire site and is the JS and CSS entrypoint; from here components are recursively imported and initialized. Import polyfills here.
  • /bundle is the compiled JS, CSS and sourcemaps.
  • /content is where actual content such as images live. This is analogous to a CMS uploads folder and can be organized however you like. Never place content assets or hardcode content text anywhere in /components!

Scripts

Command Purpose
yarn run init Remove Barebones examples and references.
yarn run lint:js Lint JS (see eslintConfig in package.json).
yarn run lint:js:fix Lint JS and automatically fix issues.
yarn run lint:css Lint CSS (see stylelint in package.json).
yarn run clean Delete /bundle.
yarn run build Compile JS and CSS to /bundle.
yarn run build:watch Build, rebuilding on source file changes.
yarn run start Start a dev server and open in browser.

Tips

  • Use NPM with Yarn to manage 3rd party dependencies.
  • Avoid adding already minified assets for better sourcemap assisted debugging.
  • Use JSDoc when writing JS.
  • Don't vendor prefix CSS rules that are on a standards track; Autoprefixer will take care of it.
  • Don't reset, normalize or otherwise declare styles globally; all variables and rules should be scoped to a component. html and body are an exception as they form the top app component.
  • Only refer to the UI and not content when naming things in /components. For example, icon-link is more versatile than contact-us-link.

Helpful projects

  • See Fix.css for taming common elements.
  • Use svgsymbolviewer.io to view symbols in SVG files.
  • Install Hurdler to setup component URL hash interactions.
  • Install scroll-animator to reliably scroll to elements, even when the page is still loading.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].