Skip to content

Commit

Permalink
update rollup packages, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Apr 23, 2021
1 parent 7895ba3 commit d232bd8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.

# Examples

***[Alignments](https://igv.org/web/release/2.8.0/examples/cram-vcf.html)***
***[Alignments](https://igv.org/web/release/2.8.1/examples/cram-vcf.html)***

***[Interactions](https://igv.org/web/release/2.8.0/examples/arcs.html)***
***[Interactions](https://igv.org/web/release/2.8.1/examples/arcs.html)***

***[Copy number](https://igv.org/web/release/2.8.0/examples/copyNumber.html)***
***[Copy number](https://igv.org/web/release/2.8.1/examples/copyNumber.html)***

***[Multiple regions](https://igv.org/web/release/2.8.0/examples/multi-locus.html)***
***[Multiple regions](https://igv.org/web/release/2.8.1/examples/multi-locus.html)***

***[Mutation Annotation Format (MAF)](https://igv.org/web/release/2.8.0/examples/mmaf-tcga.html)***
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/2.8.1/examples/mmaf-tcga.html)***

***[More](https://igv.org/web/release/2.8.0/examples/)***
***[More](https://igv.org/web/release/2.8.1/examples/)***


# Quickstart
Expand All @@ -35,11 +35,11 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.
igv.js consists of a single javascript file with no external dependencies. To link directly to the current release copy this snippet

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/igv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/igv.min.js"></script>
```

Pre-built files for ES5 (igv.min.js) and ES6 (igv.esm.min.js)
can be downloaded from [https://cdn.jsdelivr.net/npm/[email protected].0/dist/](https://cdn.jsdelivr.net/npm/[email protected].0/dist/).
can be downloaded from [https://cdn.jsdelivr.net/npm/[email protected].1/dist/](https://cdn.jsdelivr.net/npm/[email protected].1/dist/).

Alternatively you can install with npm

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"@babel/plugin-transform-regenerator": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"atob": "^2.1.2",
"btoa": "^1.2.1",
"chai": "^4.2.0",
Expand All @@ -52,9 +54,7 @@
"mocha": "^8.1.3",
"regenerator-runtime": "^0.13.3",
"rollup": "^2.28.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-strip": "^1.2.2",
"rollup-plugin-terser": "^7.0.2",
"w3c-xmlhttprequest": "^3.0.0",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import nodeResolve from "@rollup/plugin-node-resolve";
import babel from "@rollup/plugin-babel";
import strip from 'rollup-plugin-strip';
import commonjs from '@rollup/plugin-commonjs';
import {terser} from "rollup-plugin-terser"
Expand Down Expand Up @@ -32,7 +32,7 @@ export default [
functions: ['console.log', 'assert.*', 'debug']
}),
commonjs(),
resolve(),
nodeResolve(),
babel()
]
}
Expand Down

0 comments on commit d232bd8

Please sign in to comment.