mortero

v0.0.28
Used in modern masonry to glue things and build frontages
templating templates template

dev

npm run test:run -- -w

lint

eslint src tests --color

test

npm run test:run --

build

esbuild src/index.js --bundle --outfile=bin/cli.js --platform=node --external:esbuild --external:chokidar --external:live-server --external:talavera --target=node10.23 --log-level=error --log-limit=0

cover

nyc --silent --x '**/tests/**' -- npm run test:run

mocha

_mocha -t 3000 --bail --exit --colors --recursive --watch-ignore '**/build/**' -bR spec tests/*.test.js

prepare

npm run build:fast

pretest

npm run lint

test:ci

npm run cover && npm run ci:report

cover:up

codecov --file=coverage/lcov.info --disable=gcov -e TRAVIS_NODE_VERSION

test:bin

npm run build:fast && bin/cli tests/fixtures -qOfXtest -Xbuild -Xcache.json -r '**:{filepath/2}' && node build/a/main

test:run

NODE_ENV=test npm run mocha --

ci:report

nyc report -r lcov && npm run cover:up

build:fast

npm run build -- --external:kramed --external:coffeescript --external:asciidoctor.js --external:handlebars --external:liquid --external:node-sass --external:postcss --external:stylus --external:less --external:pug --external:ejs --external:svelte

html:report

nyc report -r html

Metadata

  • MIT
  • Whatever
  • Alvaro Cabrera
  • released 6/26/2021

Downloads

Maintainers