Giter Club home page Giter Club logo

jlt-transpiler's Introduction


==========================================================================

JLT transpiler by PeerHenry 2016

JLT transpiler is a tool that consists of a transpiler tool and a run tool that starts the nodejs server.

==========================================================================

1. TRANSPILER

The transpiler tool will transpile jade, less and typescript to html, css and javascript from a source folder to a build folder.

In order for the transpiler to work correctly you will need:
- a folder called "src" relative to the .exe
- jade compiler installed and available with system command "jade"
- less compiler installed and available with system command "lessc"
- transcript compiler installed and available with system command "tsc"

The three required transpilers with commands can be obtained by installing nodejs, followed by installing with node package manager the following:
npm install -g tsc
npm install -g less
npm install -g jade

running the tool will transpile all *.jade, *.less and *.ts files to a build folder located next to the src folder.
The internal directory structure will be maintained. Other files in the src folder will simply be copied to the build folder.

==========================================================================

2. RUN TOOL

The run tool will start the nodejs server and open localhost on firefox. It takes as arguments the entry .js file and the port it will use.
Without arguments the default settings are: app.js on port 3000

==========================================================================

3. GOAL

These tools were designed to be used with eclipse IDE. Eclipse can be configured to use these programs through the "external tools" feature.

==========================================================================

jlt-transpiler's People

Contributors

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