varri-js 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -0,0 +1,152 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
+ viewBox="0 0 200 200"
11
+ width="200"
12
+ height="200"
13
+ version="1.1"
14
+ id="svg871"
15
+ sodipodi:docname="vaRRI.logo.svg"
16
+ inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
17
+ inkscape:export-filename="vaRRI.logo.40x40.png"
18
+ inkscape:export-xdpi="19.200001"
19
+ inkscape:export-ydpi="19.200001">
20
+ <metadata
21
+ id="metadata875">
22
+ <rdf:RDF>
23
+ <cc:Work
24
+ rdf:about="">
25
+ <dc:format>image/svg+xml</dc:format>
26
+ <dc:type
27
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
28
+ <dc:title />
29
+ </cc:Work>
30
+ </rdf:RDF>
31
+ </metadata>
32
+ <sodipodi:namedview
33
+ pagecolor="#ffffff"
34
+ bordercolor="#666666"
35
+ borderopacity="1"
36
+ objecttolerance="10"
37
+ gridtolerance="10"
38
+ guidetolerance="10"
39
+ inkscape:pageopacity="0"
40
+ inkscape:pageshadow="2"
41
+ inkscape:window-width="2452"
42
+ inkscape:window-height="1417"
43
+ id="namedview873"
44
+ showgrid="false"
45
+ showguides="true"
46
+ inkscape:guide-bbox="true"
47
+ fit-margin-top="0"
48
+ fit-margin-left="0"
49
+ fit-margin-right="0"
50
+ fit-margin-bottom="0"
51
+ inkscape:zoom="1.41"
52
+ inkscape:cx="-84.916804"
53
+ inkscape:cy="81.684705"
54
+ inkscape:window-x="2020"
55
+ inkscape:window-y="-8"
56
+ inkscape:window-maximized="1"
57
+ inkscape:current-layer="svg871"
58
+ lock-margins="true"
59
+ inkscape:document-rotation="0" />
60
+ <defs
61
+ id="defs857">
62
+ <!-- Stil-Definitionen -->
63
+ <style
64
+ id="style855">
65
+ .arc {
66
+ fill: none;
67
+ stroke: #06B6D4; /* Türkis / Cyan für die gebogenen Linien */
68
+ stroke-width: 16;
69
+ stroke-linecap: round;
70
+ }
71
+ .letter {
72
+ font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Helvetica, Arial, sans-serif;
73
+ font-weight: 800;
74
+ font-size: 80px;
75
+ fill: #0F172A; /* Dunkelblau / Marine */
76
+ text-anchor: middle;
77
+ dominant-baseline: central;
78
+ }
79
+ .brand-title {
80
+ font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Helvetica, Arial, sans-serif;
81
+ font-weight: 700;
82
+ font-size: 32px;
83
+ fill: #0F172A;
84
+ text-anchor: middle;
85
+ }
86
+ .brand-title-js {
87
+ fill: #06B6D4; /* Farb-Akzent für -js */
88
+ }
89
+ .brand-subtitle {
90
+ font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Helvetica, Arial, sans-serif;
91
+ font-weight: 500;
92
+ font-size: 13px;
93
+ fill: #64748B;
94
+ text-anchor: middle;
95
+ letter-spacing: 0.5px;
96
+ }
97
+ </style>
98
+ </defs>
99
+ <ellipse
100
+ style="fill:#ffffff;stroke:#ffffff;stroke-width:1;stroke-miterlimit:0;stop-color:#000000"
101
+ id="path1425"
102
+ cx="101.16312"
103
+ cy="100.20045"
104
+ rx="97.163124"
105
+ ry="98.200447" />
106
+ <!-- Hintergrund (Optional, leicht transparent/weiß) -->
107
+ <rect
108
+ width="100%"
109
+ height="100%"
110
+ fill="none"
111
+ id="rect859"
112
+ x="-112"
113
+ y="-102.12804" />
114
+ <!-- BILDMARKE -->
115
+ <path
116
+ class="arc"
117
+ d="m 31.334498,61.270222 a 87.285773,96.93923 0 0 1 139.657232,0"
118
+ id="path861"
119
+ style="stroke:#004fce;stroke-opacity:1" />
120
+ <path
121
+ class="arc"
122
+ d="m 31.334498,140.7604 a 87.285773,96.93923 0 0 0 139.657232,0"
123
+ id="path867"
124
+ style="fill:none;stroke:#e65c00;stroke-opacity:1" />
125
+ <g
126
+ id="g931"
127
+ transform="matrix(1.1507186,0,0,1.150894,-438.50844,-50.447334)"
128
+ style="fill:#4d4d4d;stroke-width:0.868952"
129
+ inkscape:export-xdpi="96"
130
+ inkscape:export-ydpi="96">
131
+ <g
132
+ aria-label="V"
133
+ id="text863-8"
134
+ style="font-weight:800;font-size:80px;font-family:'-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;dominant-baseline:central;text-anchor:middle;fill:#4d4d4d;stroke-width:0.868952"
135
+ class="letter">
136
+ <path
137
+ d="m 477.8096,100.47928 -19.29687,56.01563 h -14.29688 l -19.0625,-56.01563 h 13.59375 l 11.67969,38.98438 q 0.9375,3.16406 1.13281,5.58594 h 0.23438 q 0.27343,-2.61719 1.21093,-5.74219 l 11.60157,-38.82813 z"
138
+ style="font-weight:800;font-size:80px;font-family:'-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;dominant-baseline:central;text-anchor:middle;fill:#4d4d4d;stroke-width:0.868952"
139
+ id="path837" />
140
+ </g>
141
+ <g
142
+ aria-label="A"
143
+ id="text865-8"
144
+ style="font-weight:800;font-size:80px;font-family:'-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;dominant-baseline:central;text-anchor:middle;fill:#4d4d4d;stroke-width:0.868952"
145
+ class="letter">
146
+ <path
147
+ d="m 512.81976,169.40876 h -13.75 l -3.98437,-12.46094 h -19.92188 l -3.94531,12.46094 h -13.67187 l 20.39062,-56.01563 h 14.96094 z m -20.625,-22.14844 -6.01562,-18.82812 q -0.66406,-2.10938 -0.9375,-5.03907 h -0.3125 q -0.19531,2.46094 -0.97656,4.88282 l -6.09375,18.98437 z"
148
+ style="font-weight:800;font-size:80px;font-family:'-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;dominant-baseline:central;text-anchor:middle;fill:#4d4d4d;stroke-width:0.868952"
149
+ id="path840" />
150
+ </g>
151
+ </g>
152
+ </svg>
Binary file
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "varri-js",
3
- "version": "1.0.0",
4
- "description": "Browser library for visualising and annotating RNA-RNA interactions",
3
+ "version": "1.0.2",
4
+ "description": "Browser viewer and JavaScript library for visualising and annotating RNA-RNA interactions",
5
5
  "license": "MIT",
6
6
  "author": "Bioinformatics Group, University of Freiburg",
7
- "homepage": "https://backofenlab.github.io/vaRRI-js/",
7
+ "homepage": "https://backofenlab.github.io/vaRRI/",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "git+https://github.com/BackofenLab/vaRRI-js.git"
10
+ "url": "git+https://github.com/BackofenLab/vaRRI.git"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/BackofenLab/vaRRI-js/issues"
13
+ "url": "https://github.com/BackofenLab/vaRRI/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "bioinformatics",
@@ -25,6 +25,12 @@
25
25
  "jsdelivr": "dist/vaRRI.min.js",
26
26
  "exports": {
27
27
  ".": "./src/vaRRI.js",
28
+ "./index.html": "./index.html",
29
+ "./index.js": "./index.js",
30
+ "./style.css": "./style.css",
31
+ "./example-data.js": "./example-data.js",
32
+ "./README.html": "./README.html",
33
+ "./citation.html": "./citation.html",
28
34
  "./vaRRI.js": "./src/vaRRI.js",
29
35
  "./dist/vaRRI.min.js": "./dist/vaRRI.min.js",
30
36
  "./dist/vaRRI.min.js.map": "./dist/vaRRI.min.js.map",
@@ -36,6 +42,17 @@
36
42
  "./package.json": "./package.json"
37
43
  },
38
44
  "files": [
45
+ "index.html",
46
+ "index.js",
47
+ "style.css",
48
+ "example-data.js",
49
+ "README.html",
50
+ "citation.html",
51
+ "CITATION.bib",
52
+ "CITATION.cff",
53
+ "logo/",
54
+ "doc/",
55
+ "docu.free-trailing-ends.md",
39
56
  "dist/",
40
57
  "fornac/",
41
58
  "src/README.md",
@@ -49,6 +66,7 @@
49
66
  "build": "esbuild src/vaRRI.js --minify --sourcemap --outfile=dist/vaRRI.min.js",
50
67
  "test": "jest",
51
68
  "test:ci": "jest --runInBand",
69
+ "test:package": "node scripts/check-package.cjs",
52
70
  "prepack": "npm run build"
53
71
  },
54
72
  "jest": {
package/src/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vaRRI-js JavaScript API
1
+ # vaRRI JavaScript API
2
2
 
3
3
  `src/vaRRI.js` exposes one global object, `window.vaRRI`. In CommonJS test
4
4
  code, `require('./src/vaRRI.js')` returns the same object.