bem-xjst

v6.6.0
Declarative Template Engine for the browser and server
template templates templating views bem-xjst html bem template engine BEMHTML and 2 more...

prepublish

npm run make

preversion

bash scripts/update-authors.sh && git add AUTHORS && git commit -m "update AUTHORS" || true

make-bemhtml

browserify --standalone bemhtml lib/bemhtml/index.js -o lib/bemhtml/bundle.js

make-bemtree

browserify --standalone bemtree lib/bemtree/index.js -o lib/bemtree/bundle.js

make

npm run make-bemhtml && npm run make-bemtree

clean

rm -f lib/bem{html,tree}/bundle.js

lint

jscs `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle` && jshint `ls lib/*.js lib/**/*.js test/*.js | grep -v bundle`

mocha-test

mocha --reporter=spec test/*-test.js

test

npm run make && npm run lint && npm run mocha-test

bench

cd bench && npm i && node run --compare --compile --min-samples 500

bench-apply

cd bench && npm i && node apply-stand.js --verbose

Metadata

  • MPL-2.0
  • >=0.10
  • Fedor Indutny
  • released 9/13/2016

Downloads