bloom-player 2.0.123 → 2.1.3

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.
@@ -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-3ff7d6775db1d27a2329.min.js"></script></body>
11
+ <script type="text/javascript" src="bloomPlayer-0e73d03ab788d44865a8.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
@@ -1,117 +1,42 @@
1
1
  {
2
- "name": "bloom-player",
3
- "// The patch level of this version number is replaced on TeamCity by its build number.": "",
4
- "// A dummy value is needed for the simple-minded replacement to work.": "",
5
- "// The major and minor version numbers shown here are used by the TeamCity build, so they are meaningful.": "",
6
- "// Local builds will always get this exact version number, but that should be okay.": "",
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.123",
9
- "description": "A library for displaying Bloom books in iframes or WebViews",
10
- "main": "bloomPlayer.min.js",
11
- "author": "SIL International",
12
- "license": "MIT",
13
- "private": false,
14
- "engines": {
15
- "node": "~16.13.1"
16
- },
17
- "// Might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
18
- "sideEffects": false,
19
- "repository": {
20
- "type": "git",
21
- "url": "https://github.com/BloomBooks/bloom-player.git"
22
- },
23
- "scripts": {
24
- "// COMMENTS: make the action a space rather than empty string so `yarn run` can list the scripts": " ",
25
- "// start will build, watch, start a server, and open a chrome browser with CORS disabled": " ",
26
- "// you can edit index-for-developing.html to point to different books": " ",
27
- "start": "concurrently npm:start-webpack-serve npm:chrome",
28
- "start-webpack-serve": "yarn webpack-dev-server",
29
- "storybook": "concurrently npm:storybook-inner npm:chrome-on-storybook-port",
30
- "storybook-inner": "start-storybook --static-dir ./,./src/activities,./src/activities/legacyQuizHandling -p 9009 --ci",
31
- "// if you are testing with a book hosted online, you will have to load chrome with these args (because of CORS restrictions)": " ",
32
- "chrome": "chrome http://localhost:8080/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
33
- "chrome-on-storybook-port": "chrome http://localhost:9009/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
34
- "// note: shx cp is the same as unix cp, but cross platform. So a bit different semantics than Windows copy": " ",
35
- "build": "shx rm -rf dist/ && webpack --config webpack-config-prod.js",
36
- "build-dev": "shx rm -rf dist/ && webpack --config webpack.config.js",
37
- "tslint": "tslint --project tsconfig.json",
38
- "test": "jest"
39
- },
40
- "devDependencies": {
41
- "@babel/core": "^7.5.5",
42
- "@babel/preset-env": "^7.5.5",
43
- "@babel/preset-react": "^7.7.4",
44
- "@babel/preset-typescript": "^7.3.3",
45
- "@crowdin/crowdin-api-client": "^1.10.4",
46
- "@material-ui/core": "^4.12.3",
47
- "@material-ui/icons": "^4.11.2",
48
- "@storybook/addon-a11y": "^5.1.11",
49
- "@storybook/addon-actions": "^5.1.11",
50
- "@storybook/addon-info": "^5.1.11",
51
- "@storybook/addon-knobs": "^5.1.11",
52
- "@storybook/addon-links": "^5.1.11",
53
- "@storybook/addon-viewport": "^5.1.11",
54
- "@storybook/addons": "^5.1.11",
55
- "@storybook/react": "^5.1.11",
56
- "@types/jest": "^27.4.0",
57
- "@types/jquery": "^3.5.5",
58
- "@types/jquery.nicescroll": "^3.7.1",
59
- "@types/node": "^16.3.1",
60
- "@types/react": "^16.9.1",
61
- "@types/react-dom": "^16.8.5",
62
- "@types/storybook__addon-info": "^4.1.2",
63
- "@types/storybook__react": "^4.0.2",
64
- "axios": "^0.18.0",
65
- "babel-jest": "^27.4.6",
66
- "babel-loader": "^8.0.6",
67
- "before-build-webpack": "^0.2.11",
68
- "concurrently": "^4.1.1",
69
- "copy-webpack-plugin": "^5.0.4",
70
- "css-loader": "^2.1.1",
71
- "editorconfig": "^0.15.3",
72
- "eslint": "^8.4.1",
73
- "file-loader": "^3.0.1",
74
- "globule": "^1.2.1",
75
- "html-webpack-plugin": "^3.2.0",
76
- "jest": "^27.4.7",
77
- "jest-teamcity-reporter": "^0.9.0",
78
- "jest-transform-css": "^3.0.0",
79
- "less": "^3.9.0",
80
- "less-loader": "^4.1.0",
81
- "prettier": "^1.16.4",
82
- "raw-loader": "^3.1.0",
83
- "react": "^16.8.5",
84
- "react-dom": "^16.8.5",
85
- "react-id-swiper": "^2.3.2",
86
- "shx": "^0.3.2",
87
- "style-loader": "^0.23.1",
88
- "style-scoped": "^0.2.1",
89
- "swiper": "^4.5.0",
90
- "terser-webpack-plugin": "^1.3.0",
91
- "ts-jest": "^27.1.3",
92
- "ts-loader": "^5.3.3",
93
- "tslint": "^5.15.0",
94
- "tslint-config-prettier": "^1.18.0",
95
- "tslint-react": "^4.0.0",
96
- "typescript": "*",
97
- "url-loader": "^1.1.2",
98
- "webpack": "^4.39.2",
99
- "webpack-bundle-analyzer": "^3.3.2",
100
- "webpack-cli": "3.3.0",
101
- "webpack-dev-server": "^3.7.2",
102
- "webpack-merge": "^4.2.1",
103
- "yarn": "^1.15.2"
104
- },
105
- "files": [
106
- "dist/*.js",
107
- "dist/bloomplayer.htm",
108
- "dist/*.mp3",
109
- "lib/*.js",
110
- "dist/*.css",
111
- "dist/*.tsv"
112
- ],
113
- "dependencies": {
114
- "dynamic-import-polyfill": "^0.1.1",
115
- "jquery.nicescroll": "^3.7.6"
116
- }
2
+ "name": "bloom-player",
3
+ "// The patch level of this version number is replaced on TeamCity by its build number.": "",
4
+ "// A dummy value is needed for the simple-minded replacement to work.": "",
5
+ "// The major and minor version numbers shown here are used by the TeamCity build, so they are meaningful.": "",
6
+ "// Local builds will always get this exact version number, but that should be okay.": "",
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.1.3",
9
+ "description": "A library for displaying Bloom books in iframes or WebViews",
10
+ "author": "SIL International",
11
+ "license": "MIT",
12
+ "private": false,
13
+ "engines": {
14
+ "node": "~16.13.1"
15
+ },
16
+ "// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
17
+ "sideEffects": false,
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/BloomBooks/bloom-player.git"
21
+ },
22
+ "dependencies": {
23
+ "@material-ui/core": "^4.12.3",
24
+ "@material-ui/icons": "^4.11.2",
25
+ "axios": "^0.18.0",
26
+ "dynamic-import-polyfill": "^0.1.1",
27
+ "jquery.nicescroll": "^3.7.6",
28
+ "react": "^16.8.5",
29
+ "react-dom": "^16.8.5",
30
+ "react-id-swiper": "^2.3.2",
31
+ "style-scoped": "^0.2.1",
32
+ "swiper": "^4.5.0"
33
+ },
34
+ "files": [
35
+ "dist/*.js",
36
+ "dist/bloomplayer.htm",
37
+ "dist/*.mp3",
38
+ "lib/*.js",
39
+ "dist/*.css",
40
+ "dist/*.tsv"
41
+ ]
117
42
  }