Giter VIP home page Giter VIP logo

env's Introduction

Environmental Setup

This repository is for any Front End Development Team. It's purpose is to facilitate the development of the new websites or applications.

Setup

First, you will need some items installed in order to build, run and serve this project locally. You will need:

Node & NPM

NPM Packages

  • Gulp - This is used for building our project.
  • Eslint - This is used for enforcing a coding standard and providing errors/warnings.
  • Babel-Eslint - Support for ES6 | ES2015 | Harmony | whatever it's called.

After installing Node & NPM, install the NPM packages using these commands:

sudo npm i -g eslint        // installs eslint
sudo npm i -g babel         // es6 - es5 stuff
sudo npm i -g babel-eslint  // installs babel's plugin for eslint
sudo npm i -g gulp          // installs Gulp
sudo npm i -g jade          // templating library
sudo npm i -g jsdoc         // javascript documentation
sudo npm i -g svgo          // SVG optimizer

This should setup your environment so you can build and run this project solution. The next step is to install all of the project's dependencies.

To do this, run:

npm i       // installs all the node dependencies
bower i     // installs all the bower dependencies.

This will grab the dependencies from the package.json file and install them.

Build Commands

The following are a list of build commands for this project.

// GLOBAL COMMANDS
gulp build      // this will build jade, less, javascript, svg's tasks
gulp serve      // this runs the 'build' command and also serves a local server instance
gulp javascript // this builds out all of the javascript tasks

// SPECIFIC TASKS
gulp es6-babel      // builds out the express file so it can be ran in nodes es5 environment
gulp jade           // builds jade templates
gulp styles         // builds less files
gulp js-global      // builds the global javascript files
gulp js-libraries   // builds the third party javascript files and concats them into 1 file
gulp js-components  // builds and concats all of the javascript components into 1 file
gulp js-jsdoc       // builds out the JSDOCS
gulp js-maps        // moves the javascript map files into the public directory for use
gulp server         // runs a local server instance
gulp styleguide     // builds out the styleguide items
gulp svg            // builds svg's

env's People

Contributors

markscripter avatar

Watchers

James Cloos avatar  avatar

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.