Skip to content

Repository files navigation

RAPTORFrame

Rapid Adaptive Practical Tricked-Out Rocket Framework, or RAPTORFrame, is a light and modular framework which assists in rapidly developing modern frontend projects. The Sass (SCSS) boilerplate, also known as RAPTORSMACSS, is loosely based on the SMACSS architecture pattern.

Contents

Usage

Requirements

Installation

  1. Create a new project directory
  2. Move the source/ directory, along with the gulpfile.js and package.json files from the RAPTORFrame/ directory, into the root directory of your project (DO NOT transfer the hidden .git/ directory)
  3. Optionally, repeat the last step with the .eslintignore hidden file (the custom scripts should make this unnecessary though)
  4. Within the project root directory, run npm install to setup the development environment

Commands

CommandTask
npm run raptorbuild the entire frame and root, watch all of the source files
npm run raptor -- buildbuild the entire frame and root
npm run raptor -- watchwatch all of the source files
npm run raptor -- floorbuild the root files to the project root
npm run raptor -- smashbuild the stylesheets and javascripts
npm run raptor -- glyphbuild additional glyphs (eot, svg, ttf, woff, and woff2 files)
npm run raptor -- imagebuild and optimize the images (gif, ico, jpeg, jpg, png, svg, tif, and tiff files)
npm run raptor -- otherbuild the assets files
npm run launchStarts a local server and opens the base file in a browser
npm run lint-jsLints the sourcejavascripts with eslint

ToDos

  • Write thorough documentation, including the following...
    • source/root/ directory
      • Transfer made to frame/
      • Edit the hidden files
      • Subfolders will not transfer
      • Instructional README.md file
    • source/glyphs/ directory
      • Transfer made to frame/glyphs/
      • Only eot, svg, ttf, woff, and woff2 files will transfer
      • Subfolders will not transfer
    • source/images/ directory
      • Transfer made to frame/images/
      • Only gif, ico, jpeg, jpg, png, svg, tif, and tiff files will transfer
      • Subfolders will transfer, for modularity
    • source/javascripts/ directory
      • All concatenated and uglified to frame/javascripts/raptor.js
      • How and where to add JavaScript files
      • What each file and subfolder does
      • Subfolders will not transfer
    • source/media/ directory
      • Transfer made to frame/media/
      • Only aac, avi, m4a, mid, mov, mp3, mp4, ogg, ogv, swf, vtt, wav, webm, wma, and wmv files will transfer
      • Subfolders will transfer, for modularity
    • source/stylesheets/ directory
      • All compiled and minified to frame/stylesheets/raptor.css
      • How and where to add SCSS files
      • What each file and subfolder does
      • Subfolders will not transfer
    • source/views/ directory
      • Transfer made to frame/
      • Subfolders will transfer, for modularity
  • Add the following...
    • Linters
      • scss-lint
      • csslint (maybe...)
      • Some for views
      • Some for markup languages (maybe...)
  • Create the following...
    • View files
      • 404.html (maybe...)
      • 422.html (maybe...)
      • 500.html (maybe...)
    • SCSS files
      • A @font-face mixin for glyphs (maybe...)
    • Images
      • RAPTORFrame logo – .png and/or svg
      • RAPTORFrame og:image.jpg or .png
      • New rapticon-16x16.ico and new rapticon-16x16.png
      • apple-touch-icon.jpg or apple-touch-icon.png
    • Lib directories
      • CSS libraries, non-compiled (maybe...)
      • JavaScript libraries, non-compiled (maybe...)

Team

The humans responsible and technology colophon.

License

This project is copyright © 2015-2016 Ali Esmaili | SuitAndCape. It is free software that may be redistributed under the terms specified in the LICENSE.

This is based on The MIT License (MIT). For more information, visit the Open Source Initiative website.

Connect

🎩🚀
SuitAndCape GitHubhttps://github.com/SuitAndCape
Personal GitHubhttps://github.com/AESM
Websitehttp://SuitAndCape.github.io/
LinkedInhttps://www.linkedin.com/in/SuitAndCape
Twitterhttps://twitter.com/SuitAndCape

About

A lightweight and modular framework for development of modern frontend projects.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages