@sjcrh/proteinpaint-front 2.172.0 → 2.173.0

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.
package/bundles.tgz CHANGED
Binary file
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-front",
3
- "version": "2.172.0",
3
+ "version": "2.173.0",
4
4
  "browser": "src/app.js",
5
5
  "main": "src/index.js",
6
6
  "bin": "init.js",
7
7
  "scripts": {
8
- "dev": "webpack --env NODE_ENV=development --watch --progress --color",
8
+ "dev": "./dev.sh &",
9
9
  "//TODO": "# delete webpack use, once esbuild migration is fully tested and unlikely to be reverted",
10
10
  "prepack": "rm -rf public/bin && rm -rf *.tgz && webpack && tar -czf bundles.tgz public/bin",
11
11
  "test:unit": "echo 'TODO: front unit tests'",
12
12
  "test:integration": "echo 'TODO: front integration tests'"
13
13
  },
14
14
  "devDependencies": {
15
- "@sjcrh/proteinpaint-client": "2.172.0",
15
+ "@sjcrh/proteinpaint-client": "2.173.0",
16
16
  "webpack": "^5.76.0",
17
17
  "webpack-cli": "^4.9.2",
18
18
  "webpack-node-externals": "^3.0.0",
package/public/index.html CHANGED
@@ -3,11 +3,15 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>ProteinPaint</title>
6
+ <!--
7
+ simulate a non-best practice for embedding, by putting the script for runpp here;
8
+ best practice is to use <script defer> or to put script tags before </body> end tag and
9
+ just before the runproteinpaint() call
10
+ -->
11
+ <script src="/bin/front/proteinpaint.js" charset="utf-8"></script>
6
12
  </head>
7
13
  <body style="margin:0px;width:100%;height:100%">
8
14
 
9
- <script src="bin/proteinpaint.js" charset="utf-8"></script>
10
-
11
15
  <noscript>This page requires JavaScript. Please enable it in your browser settings.</noscript>
12
16
 
13
17
  <div id=aaa style="margin:10px"></div>