brolog
v1.2.17 brolog npmlog log logger console.log console browser
clean
rm -fr dist/* bundles/*
dist
npm run clean && npm run build && npm run rollup && npm run dist:es6to5
dist:es6to5
tsc --out ./bundles/brolog.umd.js --target es5 --allowJs bundles/brolog.es6.umd.js --lib es6,dom
build
tsc --module es6
lint
npm run lint:ts
rollup
rollup -c
lint:ts
tslint --project tsconfig.json src/**/*.ts && tsc --noEmit
test
npm run dist && npm run test:unit && npm run test:e2e
test:e2e
test/protractor.sh
test:pack
export TMPDIR=/tmp/brolog-npm.$$ && mkdir $TMPDIR && npm pack && mv brolog-*.*.*.tgz $TMPDIR && cp example/npm-like-logger.js $TMPDIR && cd $TMPDIR && npm init -y && npm install brolog-*.*.*.tgz && node npm-like-logger.js
test:unit
tap -R tap "src/**/*.spec.ts"