Giter Site home page Giter Site logo

appollo-front-end-master's Introduction

Appollo Commander

A web project

Getting Started Documentation Commands

Getting started

$ npm install     # install dependencies, postinstall runs: npm run build
$ npm run server  # view the web page

For development

$ npm run dev     # watch scss, jade, js files. run http-server and live-server

To create an exportable folder

$ npm run export  # creates an export/ directory with minified files

More commands

Documentation

High-level overview

  • HTML is compiled using jade templates
  • CSS is autoprefixed and compiled from scss files
  • JS is written in CommonJS format and compiled with Browserify
  • File changes trigger new builds during development

Project is viewable at local ports :8080 and :4040

  • http-server runs on port 8080
  • live-server runs on port 4040

Check out package.json for list of dependencies

Commands

These are defined in the scripts object in package.json. They are invoked with npm run <command name> Some notable ones are:

$ npm run dev           # watch scss, jade, js files. run http-server and live-server
$ npm run html          # shortcut to call jade
$ npm run css           # compile and autoprefix the css
$ npm run js            # shortcut to call browserify
$ npm run watch         # watch all source files
$ npm run build         # build the things
$ npm run server        # run just the http-server
$ npm run live-reload   # run just the live-reload server
$ npm run servers       # run http-server and live-server
$ npm run export        # creates an export/ directory with minified files

Check out package.json for the full list of script commands

appollo-front-end-master's People

Watchers

James Cloos 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.