Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

getchopchop/chopchop

Repository files navigation

ChopChop

A front end framework and pattern library

Wiki Documentation

Full documentation can be found here

Getting Started

  1. Clone the project / Download the zip.
git clone [email protected]:getchopchop/chopchop.git
  1. Navigation to the working directory
cd chopchop
  1. Install npm modules
npm i
  1. Update variables, paths, folders, extensions etc at top of the gulpfile.js file to suite your project.
  2. Build assets
npm run build

NPM Scripts

  • $ npm run watch - Builds assets and watches directories for changes.
  • $ npm run build - Builds all assets.
  • $ npm run build:production - Builds all assets for production (Minified CSS and JavaScript, compressed images etc).

Example Project Structure

This can be easily changed to suit your project.

+-- build/
|   +-- css
|   +-- img
|   |   +-- vector
|   +-- js
|   +-- vendor
+-- node_modules/
+-- inc/
+-- pattern/
+-- src/
|   +-- img
|   |   +-- vector
|   +-- js
|   +-- scss
|   +-- vendor
+-- .editorconfig
+-- .gitignore
+-- .htaccess
+-- gulpfile.js
+-- index.php
+-- LICENCE.md
+-- package.json
+-- README.md

Bugs and feature requests

Have a bug or a feature request? Please first read the contributing guidelines document and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

Versioning

This project is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to those rules whenever possible.

See the Releases section of our GitHub project for changelogs for each release.