swig-templates

v2.0.3
A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.
template templating html django jinja twig express block

commitmsg

commitlint -E GIT_PARAMS

copy

copyfiles -u 1 'docs/**/*.{ico,css,js}' build/

docs

parallelshell 'live-server build/' 'rerun-script'

html

static-site -s docs -b build

jsdoc:swig

jsdoc lib/swig.js -X > docs/data/api.json

jsdoc:filters

jsdoc lib/filters.js -X > docs/data/filters.json

jsdoc:tags

jsdoc lib/tags/ -X > docs/data/tags.json

jsdoc:loaders

jsdoc lib/loaders/ -X > docs/data/loaders.json

jsdoc:parser

jsdoc lib/parser.js lib/lexer.js -X > docs/data/extending.json

jsdoc

run-s jsdoc:swig jsdoc:filters jsdoc:tags jsdoc:loaders jsdoc:parser

lint

standard 'lib/**/*.js' 'tests/**/*.js' 'scripts/**/*.js'

predocs

run-s jsdoc copy html

test

make test reporter=spec && make test-browser && make coverage cov-reporter=travis-cov

semantic-release

semantic-release

format

prettier-standard 'lib/**/*.js' 'tests/**/*.js' 'scripts/**/*.js'

precommit

lint-staged
npm i swig-templates

Metadata

  • MIT
  • >=0.10.0
  • Unknown
  • released 8/13/2018

Downloads