Bläddra i källkod

exposing app.ts

bioinsilico 2 år sedan
förälder
incheckning
f3b9ae3bb8
4 ändrade filer med 19 tillägg och 14 borttagningar
  1. 1 1
      package.json
  2. 0 12
      src/RcsbSaguaro3D.js
  3. 17 0
      src/app.ts
  4. 1 1
      webpack.config.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@rcsb/rcsb-saguaro-3d",
-  "version": "2.4.0-data-provider.2",
+  "version": "2.4.0-data-provider.3",
   "description": "RCSB Molstar/Saguaro Web App",
   "main": "build/dist/app.js",
   "files": [

+ 0 - 12
src/RcsbSaguaro3D.js

@@ -1,12 +0,0 @@
-import {RcsbFv3DCustom as custom} from "./RcsbFv3D/RcsbFv3DCustom";
-import {RcsbFv3DAssembly as assembly} from "./RcsbFv3D/RcsbFv3DAssembly";
-import {RcsbFv3DUniprot as uniprot} from "./RcsbFv3D/RcsbFv3DUniprot";
-import {RcsbFv3DSequenceIdentity as sequenceIdentity} from "./RcsbFv3D/RcsbFv3DSequenceIdentity";
-
-export {RcsbFv3DAlignmentProvider} from "./RcsbFv3D/RcsbFv3DAlignmentProvider";
-
-export {custom, assembly, uniprot, sequenceIdentity};
-
-export {
-    RcsbRequestContextManager
-} from "@rcsb/rcsb-saguaro-app";

+ 17 - 0
src/app.ts

@@ -0,0 +1,17 @@
+import {RcsbFv3DCustom as custom} from "./RcsbFv3D/RcsbFv3DCustom";
+import {RcsbFv3DAssembly as assembly} from "./RcsbFv3D/RcsbFv3DAssembly";
+import {RcsbFv3DUniprot as uniprot} from "./RcsbFv3D/RcsbFv3DUniprot";
+import {RcsbFv3DSequenceIdentity as sequenceIdentity} from "./RcsbFv3D/RcsbFv3DSequenceIdentity";
+import {RcsbFv3DAlignmentProvider as alignmentProvider} from "./RcsbFv3D/RcsbFv3DAlignmentProvider";
+
+export {custom, assembly, uniprot, sequenceIdentity, alignmentProvider};
+
+export {RcsbFv3DCustom} from "./RcsbFv3D/RcsbFv3DCustom";
+export {RcsbFv3DAssembly} from "./RcsbFv3D/RcsbFv3DAssembly";
+export {RcsbFv3DUniprot} from "./RcsbFv3D/RcsbFv3DUniprot";
+export {RcsbFv3DSequenceIdentity} from "./RcsbFv3D/RcsbFv3DSequenceIdentity";
+export {RcsbFv3DAlignmentProvider} from "./RcsbFv3D/RcsbFv3DAlignmentProvider";
+
+export {
+    RcsbRequestContextManager
+} from "@rcsb/rcsb-saguaro-app";

+ 1 - 1
webpack.config.js

@@ -45,7 +45,7 @@ const commonConfig = {
 const appConfig = {
     ...commonConfig,
     entry: {
-        'app':'./build/src/RcsbSaguaro3D.js'
+        'app':'./build/src/app.js'
     },
     mode: "production",
     output: {