mikado

v0.7.55
Web's fastest templating engine.
Templating Template Virtual DOM Template Engine Mustache Handlebars Reactive

test

npm run build:pre && npm run build:light && cd test && npm install && npx mikado-compile template.html -f && npx mikado-compile proxy.html -f && npx mikado-compile keyed.html -f && npm run test

build

node task/build RELEASE=min USE_POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_STORAGE=true SUPPORT_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_TRANSPORT=true SUPPORT_TEMPLATE_EXTENSION=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true && exit 0

update

npm install google-closure-compiler@nightly && npm install babel-cli && npm install babel-plugin-minify-constant-folding && npm install babel-plugin-minify-dead-code-elimination && npm install babel-plugin-minify-flip-comparisons && npm install babel-plugin-minify-guarded-expressions && npm install babel-plugin-minify-infinity && npm install babel-plugin-minify-mangle-names && npm install babel-plugin-minify-replace && npm install babel-plugin-minify-simplify && npm install babel-plugin-minify-type-constructors && npm install babel-plugin-transform-member-expression-literals && npm install babel-plugin-transform-merge-sibling-variables && npm install babel-plugin-transform-minify-booleans && npm install babel-plugin-transform-property-literals && npm install babel-plugin-transform-simplify-comparison-operators && npm install babel-plugin-transform-undefined-to-void

compile

node task/compile && echo Compile Complete. && exit 0

build:all

npm run build && npm run build:light && npm run build:es5 && npm run build:pre && npm run build:debug && npm run build:module

build:es5

node task/build RELEASE=es5 USE_POLYFILL=true DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_STORAGE=true SUPPORT_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_TRANSPORT=true SUPPORT_TEMPLATE_EXTENSION=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true && exit 0

build:pre

node task/build RELEASE=pre USE_POLYFILL=true DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_STORAGE=true SUPPORT_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_TRANSPORT=true SUPPORT_TEMPLATE_EXTENSION=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true && exit 0

build:debug

node task/build RELEASE=debug USE_POLYFILL=true DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_STORAGE=true SUPPORT_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_TRANSPORT=true SUPPORT_TEMPLATE_EXTENSION=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true && exit 0

build:light

node task/build RELEASE=light USE_POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=false SUPPORT_STORAGE=false SUPPORT_HELPERS=false SUPPORT_CACHE_HELPERS=false SUPPORT_ASYNC=false SUPPORT_TRANSPORT=false SUPPORT_TEMPLATE_EXTENSION=false SUPPORT_REACTIVE=false SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=false SUPPORT_COMPILE=false && exit 0

build:custom

node task/build RELEASE=custom

build:module

babel src -d dist/module && exit 0

Metadata

Downloads

Maintainers