sheetjs_sheetjs/demos/server/Makefile
AmishBaztard e958dbf18e Refresh server demos
- microjs demo removed
- hapi.js demo does not work in latest version
2021-04-16 21:57:41 -04:00

22 lines
377 B
Makefile

.PHONY: init
init:
mkdir -p node_modules
cd node_modules; if [ ! -e xlsx ]; then ln -s ../../../ xlsx; fi; cd -
.PHONY: request
request: init ## request demo
node _request.js
.PHONY: express
express: init ## express demo
node express.js
.PHONY: koa
koa: init ## koa demo
node koa.js
.PHONY: hapi
hapi: init ## hapi demo
cp ../../dist/xlsx.full.min.js .
node hapi.js