From 3dc4fd1fed1923d3ca3627e3047022aae8648ee0 Mon Sep 17 00:00:00 2001 From: edsilv Date: Wed, 10 Oct 2018 10:12:38 +0100 Subject: [PATCH] npx serve --- README.md | 4 ++-- examples/index.html | 2 +- package.json | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7bdde96..0562c9e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # iiif-gallery-component -https://iiif-commons.github.io/iiif-gallery-component/examples/ +https://iiif-gallery-component.netlify.com npm i npm run build - npx serve + npm start diff --git a/examples/index.html b/examples/index.html index 6641a2b..eae0530 100644 --- a/examples/index.html +++ b/examples/index.html @@ -20,7 +20,7 @@ - + diff --git a/package.json b/package.json index f6e2ece..ffc4a04 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "types": "./dist/iiif-gallery-component.d.ts", "scripts": { - "build": "rimraf ./dist && tsc && lessc ./src/assets/css/styles.less > ./dist/styles.css" + "build": "rimraf ./dist && tsc && lessc ./src/assets/css/styles.less > ./dist/styles.css", + "start": "npx serve ./examples" }, "repository": { "type": "git",