Skip to content

Commit

Permalink
npx serve
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Oct 10, 2018
1 parent c15461d commit 3dc4fd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script src="https://unpkg.com/@iiif/manifold/dist/manifold.js"></script>
<script src="https://iiif-commons.github.io/base-component/dist/BaseComponent.js"></script>
<script src="http://edsilv.github.io/utils/dist/utils.js"></script>
<script src="https://iiif-commons.github.io/iiif-gallery-component/dist/GalleryComponent.js"></script>
<script src="https://iiif-gallery-component.netlify.com/GalleryComponent.js"></script>
<script src="http://edsilv.github.io/jquery-plugins/dist/jquery-plugins.js"></script>
</head>
<body>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3dc4fd1

Please sign in to comment.