GithubHelp home page GithubHelp logo

ideal-website-starting-project's Introduction

Ideal Website Starting Project

This project is intended to be a simple, easy to use, barebones website. No back-end is implemented so it can be used with many different back-end languages. This project only includes:

  • jQuery
  • Bootstrap
  • Some cool little npm scripts (described in some details below)
  • Dev Dependencies in order to make everything work

In order to run this you need npm installed, start by typing:

$ npm install

With all modules ready, you will have the following useful scripts:

build-js

Uses browserify in order to make the file content/js/main.js browser-ready and outputs the result in public/js/script.js.

build-sass

Compiles the file content/sass/main.scss using node-sass and add browser prefixes using autoprefixer. The output goes to public/css/style.css.

build-min-js

The same as build-js but also minifies the resulting js using uglifyjs.

build-min-sass

The same as build-sass but also minifies the resulting css using clean-css.

build

Uses concurrently to run both build-js and build-sass.

build-min

Uses concurrently to run both build-min-js and build-min-sass.

watch-js

Uses nodemon to watch the js folder for changes and call build-js according.

watch-sass

Uses nodemon to watch the sass folder for changes and call build-sass according.

watch

Uses concurrently to run both watch-js and watch-sass at the same time.

To run any of these scripts just type:

$ npm run <command-name>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.