All Projects โ†’ carloscuesta โ†’ starterkit

carloscuesta / starterkit

Licence: MIT license
A Front End development Gulp.js based workflow. ๐Ÿš€

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to starterkit

sass-starter-pack
Sass starter files using Gulp v4.0.0 ๐Ÿ”ฅ
Stars: โœญ 34 (-61.36%)
Mutual labels:  gulp, starterkit
generator-starterkit
Yeoman that scaffolds out a front end starterkit. ๐Ÿ“ฆ
Stars: โœญ 29 (-67.05%)
Mutual labels:  gulp, starterkit
Gulp Html Replace
Replace build blocks in HTML. Like useref but done right.
Stars: โœญ 222 (+152.27%)
Mutual labels:  gulp
starter-kit
๐Ÿƒ A simple and powerful Starter Kit made with Webpack, Gulp 4, Pug and SASS
Stars: โœญ 21 (-76.14%)
Mutual labels:  gulp
sseeeedd
Seed for front-end culture :)
Stars: โœญ 15 (-82.95%)
Mutual labels:  gulp
Generator Chrome Extension Kickstart
Scaffold out a Web Extension http://yeoman.io
Stars: โœญ 232 (+163.64%)
Mutual labels:  gulp
gulp-upload-qcloud
่…พ่ฎฏไบ‘ cos ้™ๆ€่ต„ๆบไธŠไผ  gulp ๆ’ไปถ
Stars: โœญ 18 (-79.55%)
Mutual labels:  gulp
Material Admin
Free Material Admin Template
Stars: โœญ 219 (+148.86%)
Mutual labels:  gulp
sitecore-azure-devops
Sitecore 8.2u5 DevOps Scripts
Stars: โœญ 15 (-82.95%)
Mutual labels:  gulp
sc ext
Sitecore Extensions is a browser extension which improves user experience inside Sitecore CMS
Stars: โœญ 27 (-69.32%)
Mutual labels:  gulp
gulp-rev-versions-bundle
A bundle that allows symfony to get the version of assets versioned with gulp-rev
Stars: โœญ 13 (-85.23%)
Mutual labels:  gulp
feweekly
โญ ๅ‰็ซฏๅ‘จๅˆŠ๏ผŒ่ฎฉไฝ ๅœจๅ‰็ซฏ้ข†ๅŸŸ่ทŸไธŠๆ—ถไปฃ็š„่„šๆญฅ๏ผŒๆทฑๅบฆๅ’Œๅนฟๅบฆไธๆ–ญ็ฒพ่ฟ›
Stars: โœญ 34 (-61.36%)
Mutual labels:  gulp
Weapp Workflow
ๅŸบไบŽGulp ็š„ๅพฎไฟกๅฐ็จ‹ๅบๅ‰็ซฏๅผ€ๅ‘ๅทฅไฝœๆต ๐Ÿ’ฏ
Stars: โœญ 241 (+173.86%)
Mutual labels:  gulp
buildozer
๐Ÿšœ Build tool which simplify your buildprocess. Built with Gulp.js ๐Ÿฅค
Stars: โœญ 22 (-75%)
Mutual labels:  gulp
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: โœญ 228 (+159.09%)
Mutual labels:  gulp
electron-pixijs-typescript
Sample using Electron, Pixi.JS and TypeScript to make a game app that runs on browser and on desktop.
Stars: โœญ 25 (-71.59%)
Mutual labels:  gulp
React Zhihu
่ฟ™ๆ˜ฏไธ€ไธชๆจกไปฟ็ŸฅไนŽ็•Œ้ข็š„็ฎ€ๅ•React demoใ€‚่ฟ™ไธชReact demo่ƒฝ่ฎฉไฝ ไปŽ้›ถๅผ€ๅง‹ๅญฆไน React๏ผŒๅนถ้€ๆธๆŽŒๆกReactใ€‚ๅฎƒๅŒ…ๆ‹ฌไบ†ไธ€ไธช้กน็›ฎไปŽ้›ถๅˆฐ้กน็›ฎๅฎŒๆˆ็š„ๆ•ดไธช่ฟ‡็จ‹ใ€‚
Stars: โœญ 219 (+148.86%)
Mutual labels:  gulp
Gab Dissenter Extension
Dissenter.com Browser Extension source code
Stars: โœญ 252 (+186.36%)
Mutual labels:  gulp
gulp-rev-delete-original
Delete the original file rewritten by gulp-rev.
Stars: โœญ 28 (-68.18%)
Mutual labels:  gulp
magento-2-gulp
Gulp for Magento 2. It works with core Magento styles (less) and structure. Uses default theme configs from dev/tools/grunt/configs/local-themes.js.
Stars: โœญ 37 (-57.95%)
Mutual labels:  gulp

Carlos Cuesta Starter Kit

Build Status Dependency Status GitHub release XO code style

Carlos Cuesta Starterkit

A simple starterkit boilerplate that I use to realize my front end static development projects. If you have comments or suggestions feel free to give me a shout on Twitter! Also checkout the yeoman generator-startekit.

Technologies

  • Gulp - Automate and enhance your workflow
  • Pug - Terse language for writing HTML templates.
  • SASS - CSS with superpowers.
  • Babel - Use next generation JavaScript, today (ES5 => ES6).
  • Flexboxgrid - A grid system based on the flex display property.
  • NodeJS - JavaScript runtime built on Chrome's V8 JavaScript engine.

Requirements and Use

Requirements

$ npm install -g gulp

Use

$ git clone https://github.com/carloscuesta/starterkit.git
$ cd starterkit/ && npm install
$ gulp

Tasks

gulp: Runs the default task (dev) including the following ones :

  • styles: SCSS compiling to CSS, css minification and autoprefixing.
  • templates: Pug compiling and rendering to HTML.
  • scripts: ES6 to ES5 with babel, scripts minification and concatenation into a single file.
  • images: Image compression.
  • beautify: Beautify your preproduction files at ./dist/.
  • serve: Starts a server at ./dist/ with all your compiled files, looking for file changes and injecting them into your browser.

gulp build: Builds your project. runs the following tasks:

  • styles
  • templates
  • scripts
  • images
  • beautify

gulp optimize: Optimizes your project (to improve the pagespeed) runs:

  • uncss: Removes unused CSS from your styles file using uncss.
  • critical: Extract and inline critical-path (above-the-fold) CSS from HTML using critical
  • images

gulp deploy: Deploy your dist folder into your server or surge cloud runs:

If you want to use the deploy task, you will have to edit the gulpfile.js lines between 65-69 with your ftp connection info: host | user | password. If you want to use Surge instead of FTP, just setup a domain name in the surgeInfo.domain

Once you setup ftpCredentials, you will have to choose a directory of your server where the deploy will go: ftpUploadsDir

Now you will be able to use gulp deploy and your /dist/ folder will go up to your ftp server!

Use npm run to list the gulp tasks available. You can run the tasks too using the npm run scriptname that is on the list.

Project Structure

.
โ”œโ”€โ”€ /dist/                   # Minified, optimized and compiled files.
โ”‚   โ”œโ”€โ”€ /assets/             # Assets folder.
โ”‚   โ”‚   โ”œโ”€โ”€ /css/            # CSS style files.
โ”‚   โ”‚   โ”œโ”€โ”€ /files/          # Static files.
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ img/         # Images folder.
โ”‚   โ”‚   โ””โ”€โ”€ /js/             # JS files.
โ”‚   โ””โ”€โ”€ *.html               # Rendered and compiled HTMLs from Pug.
โ”œโ”€โ”€ /node_modules/           # Node modules dependencies and packages.
โ”œโ”€โ”€ /src/                    # Source files.
โ”‚   โ”œโ”€โ”€ /images/             # Images non compressed.
โ”‚   โ”œโ”€โ”€ /scripts/            # JavaScript files.
โ”‚   โ”œโ”€โ”€ /styles/             # SCSS style files.
โ”‚   โ”‚   โ””โ”€โ”€ _includes/       # Styles SCSS partials.
โ”‚   โ”œโ”€โ”€ /templates/          # Templating Pug files.
โ”‚   โ”‚   โ””โ”€โ”€ _includes/       # Templating Pug partials.
โ””โ”€โ”€ gulpfile.js              # Gulp automatization file.

Demo

starterkit-terminal

License

The code is available under the MIT license.

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].