canvas-fit-margin-ts
v1.0.8 canvas fit screen window browser resize typescript
clean
rm -rf dist; rm -rf demo
build-dist
tsc -d --declarationMap --declarationDir dist src/index.ts; uglifyjs -m -c warnings=false -o dist/index.js src/index.js
buidl-demo
mkdir demo; browserify ./src/demo.ts -p [ tsify ] | uglifyjs -cm > demo/index.js; cp -r public/* demo/
build
npm run clean; npm run build-dist; npm run buidl-demo; rm src/index.js;
start
budo ./src/demo.ts:index.js --open --live --dir public -- -p [ tsify ]
test
echo "Error: no test specified" && exit 1