sheetjs/demos/server/Makefile

30 lines
501 B
Makefile
Raw Normal View History

.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
2017-09-24 23:40:09 +00:00
.PHONY: hapi
hapi: init ## hapi demo
cp ../../dist/xlsx.full.min.js .
node hapi.js
2022-02-26 05:48:40 +00:00
.PHONY: nest
nest: init ## nest demo
bash -c ./nest.sh
2022-03-07 07:36:36 +00:00
.PHONY: drash
drash: ## drash demo
deno run --allow-net drash.ts