uicompile
A compiler for web-based user interfaces
Last updated 10 months ago by kei-ito .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install uicompile 
SYNC missed versions from official npm registry.

uicompile

A compiler for web-based user interface.

Install

$ npm install -g uicompile

Start a server

$ uicompile server

To start with port option

$ uicompile server --port 3456

Compile your app

$ uicompile compile

Configurations

You can configure uicompile with the require('uicompile')-able module in the root directory of your project.

  • projectRoot (Not configurable) A path to your project.
  • src (default: "src") -- A relative path from projectRoot to the directory contains source codes.
  • dest (default: "release") -- A relative path from projectRoot to the directory for compiled codes.
  • html (default: ["."]) -- An array of relative paths from src to the directory for files to generate .html files.
  • static (default: ["static"]) -- An array of relative paths from src to the directory for static files.
  • css (default: ["css"]) -- An array of relative paths from src to the directory for files to generate .css files.
  • js (default: ["js"]) -- An array of relative paths from src to the directory for .js files.
  • translator (default: "js/g11n/translate.js") -- relative path from src to the translation module.
  • translations (default: translations) -- relative path from src to the directory for dictionary files.
  • langs (default: ["en"]) -- An array of language keys.
  • port (default: 4000) -- A port number the uicompile server listens.
  • middleware (default: undefined) -- A function called on the server received any requests.
  • uglifyjs (default: undefined) -- An object passed to UglifyJS2.
  • browserify (default: undefined) -- An object passed to browserify.
  • autoPrefixer (default: undefined) -- An object passed to Autoprefixer.
  • cleanCss (default: undefined) -- An object passed to clean-css.
  • j0 (default: false) -- A boolean flag to use the j0 library. If it is set to true, the translator will be compatible with the library.

Current Tags

  • 0.0.41                                ...           latest (10 months ago)

95 Versions

  • 0.0.41                                ...           10 months ago
  • 0.0.40                                ...           10 months ago
  • 0.0.39                                ...           10 months ago
  • 0.6.14                                ...           a year ago
  • 0.6.13                                ...           2 years ago
  • 0.6.12                                ...           2 years ago
  • 0.6.11                                ...           2 years ago
  • 0.6.10                                ...           2 years ago
  • 0.6.9                                ...           2 years ago
  • 0.6.8                                ...           2 years ago
  • 0.6.7                                ...           2 years ago
  • 0.6.6                                ...           2 years ago
  • 0.6.5                                ...           2 years ago
  • 0.6.4                                ...           2 years ago
  • 0.6.3                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.31                                ...           2 years ago
  • 0.2.30                                ...           2 years ago
  • 0.2.29                                ...           2 years ago
  • 0.2.28                                ...           2 years ago
  • 0.2.27                                ...           2 years ago
  • 0.2.26                                ...           2 years ago
  • 0.2.25                                ...           2 years ago
  • 0.2.24 [deprecated]           ...           2 years ago
  • 0.2.23                                ...           2 years ago
  • 0.2.22                                ...           2 years ago
  • 0.2.20                                ...           2 years ago
  • 0.2.19                                ...           2 years ago
  • 0.2.18                                ...           2 years ago
  • 0.2.17                                ...           2 years ago
  • 0.2.16                                ...           2 years ago
  • 0.2.15                                ...           2 years ago
  • 0.2.14                                ...           2 years ago
  • 0.2.13                                ...           2 years ago
  • 0.2.12                                ...           2 years ago
  • 0.2.11                                ...           2 years ago
  • 0.2.10                                ...           2 years ago
  • 0.2.9                                ...           2 years ago
  • 0.2.8                                ...           2 years ago
  • 0.2.7                                ...           2 years ago
  • 0.2.6                                ...           2 years ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.38                                ...           3 years ago
  • 0.0.37                                ...           3 years ago
  • 0.0.36                                ...           3 years ago
  • 0.0.35                                ...           3 years ago
  • 0.0.34                                ...           3 years ago
  • 0.0.33                                ...           3 years ago
  • 0.0.32                                ...           3 years ago
  • 0.0.31                                ...           3 years ago
  • 0.0.30                                ...           3 years ago
  • 0.0.29                                ...           3 years ago
  • 0.0.28                                ...           3 years ago
  • 0.0.27                                ...           3 years ago
  • 0.0.26                                ...           3 years ago
  • 0.0.25                                ...           3 years ago
  • 0.0.24                                ...           3 years ago
  • 0.0.23                                ...           3 years ago
  • 0.0.22                                ...           3 years ago
  • 0.0.21                                ...           3 years ago
  • 0.0.20                                ...           3 years ago
  • 0.0.19                                ...           3 years ago
  • 0.0.18                                ...           3 years ago
  • 0.0.17                                ...           3 years ago
  • 0.0.16                                ...           3 years ago
  • 0.0.15                                ...           3 years ago
  • 0.0.14                                ...           3 years ago
  • 0.0.13                                ...           3 years ago
  • 0.0.12                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
  • 0.0.10                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 75
Last Day 1
Last Week 3
Last Month 96
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |