bloom-player 2.0.108 → 2.0.111
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/dist/bloomplayer.htm
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</head>
|
|
9
9
|
<body style="background-color: #2e2e2e;">
|
|
10
10
|
<div id="root"><span style="color: #d65649">Loading Bloom Player...</span></div>
|
|
11
|
-
<script type="text/javascript" src="bloomPlayer-
|
|
11
|
+
<script type="text/javascript" src="bloomPlayer-f77e891d7352a57a1fef.min.js"></script></body>
|
|
12
12
|
<!-- At build time, we insert a script tag pointing at bloomPlayer.min.js but with a hash created at build time,
|
|
13
13
|
to avoid getting a stale version from a cache (while allowing us to cache it for a long time).
|
|
14
14
|
It has a style sheet which sets the same color on the body, but it takes a while to fetch and load,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"// The major and minor version numbers shown here are used by the TeamCity build, so they are meaningful.": "",
|
|
6
6
|
"// Local builds will always get this exact version number, but that should be okay.": "",
|
|
7
7
|
"// There's no need to update the patch value before committing and merging: the TeamCity process ensures a new patch number for each merge.": "",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.111",
|
|
9
9
|
"description": "A library for displaying Bloom books in iframes or WebViews",
|
|
10
10
|
"main": "bloomPlayer.min.js",
|
|
11
11
|
"author": "SIL International",
|
|
@@ -25,27 +25,16 @@
|
|
|
25
25
|
"// you can edit index-for-developing.html to point to different books": "",
|
|
26
26
|
"start": "concurrently npm:start-webpack-serve npm:chrome",
|
|
27
27
|
"start-webpack-serve": "yarn webpack-dev-server",
|
|
28
|
-
"storybook": "concurrently npm:storybook-inner npm:
|
|
28
|
+
"storybook": "concurrently npm:storybook-inner npm:chrome-on-storybook-port",
|
|
29
29
|
"storybook-inner": "start-storybook --static-dir ./,./src/activities,./src/activities/legacyQuizHandling -p 9009 --ci",
|
|
30
|
-
"// if you are testing with a book hosted
|
|
30
|
+
"// if you are testing with a book hosted online, you will have to load chrome with these args (because of CORS restrictions)": "",
|
|
31
31
|
"chrome": "chrome http://localhost:8080/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
|
|
32
|
-
"
|
|
32
|
+
"chrome-on-storybook-port": "chrome http://localhost:9009/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
|
|
33
|
+
"// note: shx cp is the same as unix cp, but cross platform. So a bit different semantics than Windows copy": "",
|
|
33
34
|
"build": "shx rm -rf dist/ && webpack --config webpack-config-prod.js",
|
|
34
35
|
"build-dev": "shx rm -rf dist/ && webpack --config webpack.config.js",
|
|
35
36
|
"tslint": "tslint --project tsconfig.json",
|
|
36
|
-
"test": "jest"
|
|
37
|
-
"// bloom-library doesn't normally *have* this code; instead, it goes and gets it from s3.": "",
|
|
38
|
-
"// To make use of this code while you are developing how BP works in BL, you have to uncomment a line in BloomLibrary's readBook-controller.js": "",
|
|
39
|
-
"// Don't forget to run 'yarn chrome' from bloom-library.": "",
|
|
40
|
-
"// This will fail if the http server is locking the directory": "",
|
|
41
|
-
"// note: shx cp is the same as unix cp, but cross platform. So a bit different semantics than Windows copy": "",
|
|
42
|
-
"tobloomlibrary2": "shx rm -f ../BloomLibrary2/public/bloom-player/*.* && shx cp dist/*.* ../BloomLibrary2/public/bloom-player",
|
|
43
|
-
"tobloomreader": "shx rm -f ../BloomReader/app/src/main/assets/bloom-player/*.* && shx cp dist/*.* ../BloomReader/app/src/main/assets/bloom-player",
|
|
44
|
-
"tobloom": "shx cp dist/*.* ../BloomDesktop/output/browser/bloom-player/dist",
|
|
45
|
-
"build4bl": "yarn build && yarn tobloomlibrary2",
|
|
46
|
-
"build4bl2": "yarn build && yarn tobloomlibrary2",
|
|
47
|
-
"build4br": "yarn build && yarn tobloomreader",
|
|
48
|
-
"build4bd": "yarn build && yarn tobloom"
|
|
37
|
+
"test": "jest"
|
|
49
38
|
},
|
|
50
39
|
"devDependencies": {
|
|
51
40
|
"@babel/core": "^7.5.5",
|