All Projects → gaowhen → gon

gaowhen / gon

Licence: MIT License
Not meer another f2e build tool

Programming Languages

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

Projects that are alternatives of or similar to gon

Weflow
A web developer workflow tool by WeChat team based on tmt-workflow, with cross-platform supported and environment ready.
Stars: ✭ 3,225 (+24707.69%)
Mutual labels:  gulp, f2e
impatient-jekyll
Build a website yourself. Easy to use, get a fast workflow and fast website. http://bdavidxyz.github.io/impatient-jekyll/
Stars: ✭ 22 (+69.23%)
Mutual labels:  gulp
FullProxy
Bind and reverse connection based, SOCKS5, HTTP and PortForward based portable proxy
Stars: ✭ 22 (+69.23%)
Mutual labels:  proxy-server
pxy
A simple proxy server with flexibility.
Stars: ✭ 31 (+138.46%)
Mutual labels:  proxy-server
angular-material-boilerplate
A straightforward and well structured boilerplate based on Google's Angular Material project.
Stars: ✭ 28 (+115.38%)
Mutual labels:  gulp
gulp-golang
gulp plugin for golang projects
Stars: ✭ 13 (+0%)
Mutual labels:  gulp
WordPress-UIkit-Starter-Theme
A WordPress starter theme for developers using the frontend framework UIkit
Stars: ✭ 55 (+323.08%)
Mutual labels:  gulp
StegoProxy
Steganography proxy implemented in java
Stars: ✭ 19 (+46.15%)
Mutual labels:  proxy-server
userscript-proxy
HTTP proxy to inject scripts and stylesheets into existing sites.
Stars: ✭ 66 (+407.69%)
Mutual labels:  proxy-server
gulp-prestashop
Gulp prestashop build system
Stars: ✭ 14 (+7.69%)
Mutual labels:  gulp
n-asset-macro
Asset macro for Latte and Nette Framework for assets cache busting.
Stars: ✭ 14 (+7.69%)
Mutual labels:  gulp
seezoon-framework-all
Seezoon快速开发平台基于spring mybatis shiro jquery 完全的前后端分离的后台管理系统,采用最简单技术,实现快速开发.
Stars: ✭ 47 (+261.54%)
Mutual labels:  gulp
angular-gulp-starter
Simple dev/prod build for Angular (2+) using gulp, systemjs, rollup, ngc (AOT), scss, Visual Studio
Stars: ✭ 18 (+38.46%)
Mutual labels:  gulp
licaibao-responsive
一个响应式的理财网站,主要是为了学习响应式页面设计而制作。
Stars: ✭ 26 (+100%)
Mutual labels:  gulp
gulp-lesshint
Lint your .less files from Gulp with lesshint.
Stars: ✭ 14 (+7.69%)
Mutual labels:  gulp
gulp-tmod
grunt-tmod gulp version
Stars: ✭ 30 (+130.77%)
Mutual labels:  gulp
gulp-sass
Sass plugin for gulp
Stars: ✭ 35 (+169.23%)
Mutual labels:  gulp
hugo-gulp-template
Enhanced template for Hugo projects
Stars: ✭ 28 (+115.38%)
Mutual labels:  gulp
rotating-proxy-python
Python script for rotation through Proxy Servers
Stars: ✭ 25 (+92.31%)
Mutual labels:  proxy-server
IpProxyPool
Golang 实现的 IP 代理池, 涉及到的技术点: go gorm proxy proxypool ip crawler 爬虫 mysql viper cobra
Stars: ✭ 36 (+176.92%)
Mutual labels:  proxy-server

Gon

Not meer another f2e build tool.

Gon

Travis Npm download Npm version

Installation

npm install -g Gon

Usage

Gon create [Project's Name]

Creates a new project, generates all the folders and files.

Gon dev

Starts the proxy server and the project, with javascript, stylus and pug files processed by Webpack and Gulp.

Should be used with sudo, because the proxy server runs on port 80.

Gon release

Releases all the static files to the static folder and all template files to the view folder.

Convention

Folder Structure

Folder structure

File Name

The module file which will be imported (stylus) or required (js) to the entry file should be named start with the _ prefix.

Custom Config

// gon.config.js
module.exports = {
  domain: 'gon.com',
  port: 8000,
  // web server
  // request to the upper domain will be proxyed to these servers
  fe: {
    local: '127.0.0.1:8000',
    dev: '',
    pre: '',
    pro: '',
  },
  // api server
  // requests to `/api` will be prxoyed to these servers
  be: {
    dev: '127.0.0.1:80',
    pre: '',
    pro: '',
  },
  proxy: {
    // proxy a project's request to an outiside server
    '/data/sk/101010100.html': 'www.weather.com.cn:80',
    // proxy an outside request to project
    '2pmh9.free.natapp.cc': '/ping',
  },
  // used for webpack to avoid compiling these files
  externals: {
    react: 'React',
    'react-dom': 'ReactDOM',
  },
}

Switch Proxy Setting

You can switch all these proxy setting on http://localhost/.

proxy setting

FAQ

  • Name is from Gon Freecss
  • Needs Node.js version >= 7.0.0 and npm version >= 3.3.6

Most thanks to Webpack2.0rc and Gulp4.

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