Skip to content

CFLai1990/Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Building System

Features

  • Javascript ES6 and stage-0 features support
  • Auto build on file changes

Install Required Packages

$ npm install

Build Library

$ gulp script:lib

Run this script only when new library is included. Modify libs in gulpfile.js to configure external libraries. npm packages are recommended. If you manually download the library file, set a mapping in package.json like:

"browser" : {
	"jquery": "./client/js/lib/jquery.js"
}

Build Application

$ npm start

The entry point is client/js/main.js. browserify will analyse file dependencies and bundle required files into server/static/js/app.lib. Library files will be excluded.

The system will start a simple flask server. Goto https://127.0.0.1:8912/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published