Header of the README.md that contain: Logo of the project(if any), badges, and descr.
A brief description
Call to action
TOC example:
Table of Contents
A brief and informative introduction illustrating why your project is interesting and relevant.
Dependencies that are needed by people who want to install your project For example:
#Nostalgic
$ npm install repo-name
#Hipster
$ yarn add repo-name
descr (if needed)
Clone the repo to get all source files as they are available on Github:
$ git clone https://github.com/your-github-name/repo-name.git
$ cd repo-name/
And then install NPM-Modules via:
#Nostalgic
npm install
#Hipster
yarn
This install the required node_modules.
descr (if needed)
Technologies or features that you used when creating the project. For example:
JavaScript
Testing
- Cypress - is a fast, easy and reliable testing for anything that runs in a browser.
Styles
-
Sass - is the most mature, stable, and powerful professional grade CSS extension language in the world.
-
Sassdoc - is a documentation system to build pretty and powerful docs in the blink of an eye.
-
PostCSS - is a tool for transforming CSS with JavaScript.
-
Critical - extracts & inlines critical-path (above-the-fold) CSS from HTML.
Automation
Optimization
Server
- BrowserSync - is a time-saving synchronised browser testing.
Linting
Code Management
-
Editorconfig - helps developers define and maintain consistent coding styles between different editors and IDEs.
-
Git - is a distributed version control system designed to handle everything from small to very large projects.
An example of the presentation of commands for working with your project, in the form of a table.
With Webpack you have to use NPM Script Commands
Action | Npm | Yarn |
---|---|---|
Intialize your Project and the Sass Documentation (/sassdocs/) | npm run init |
yarn run init |
Main development task with BrowserSync and Webpack | npm run dev |
yarn dev |
Minify JS, Images, CSS. Is for a automated Build Process, comes after a Gulp Init. | npm run build |
yarn build |
Rebuild all JS Files except the Application JS File | npm run scripts |
yarn scripts |
Rebuild all Image Files for CSS, copy it to distribution, build Bitmap- and Vector Sprites. | npm run uiimages |
yarn uiimages |
Copy all Imagefiles for Documentusage. | npm run htmlassets |
yarn htmlassets |
Copy all or Generate the Template Files. | npm run template |
yarn template |
Generate Favicons and the HTML Snippet (generated Files you will find in src/.system/ ) |
npm run favicon |
yarn favicon |
Description of the structure of your project.
Example schema that illustrates it (if needed):
SRC Folderstructure:
src/
├── .system/ => Internal System Files
├── fonts/ => Font Files
├── framework/ => Sass Framework
├── images/ => All Images
| ├── bitmapSingle-assets => Single Bitmap Images
| ├── bitmapSprite-assets => Images for Bitmap Sprites
| ├── htmlimages => Content Images (`<img>`)
| ├── vectorSingle-assets => Single Vector Images
| └── vectorSprite-assets => Vector Images for Vector Sprites
├── js/ => JS Files (e.g. main.js)
├── scripts/ => Script files that are not installed
├── structure/ => Source Files for Copy (e.g. Template Files for a WP Theme)
└── style/ => Styling Source Files
Description of the build of your project and its subtleties of implementation
Your License
This project is licensed under the MIT License - see the LICENSE file for details.
Repo Name made with love.
---------------------------------------
Author : Your Name
Email : [email protected]
Github : https://github.com/your-github-name/repo-name.git