@mjhls/mjh-framework 1.0.985-article-abstract-v2 → 1.0.986-article-rec-test

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.
Files changed (179) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +13 -5
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
  5. package/dist/cjs/Auth.js +20 -17
  6. package/dist/cjs/AuthWrapper.js +19 -13
  7. package/dist/cjs/CMEDeck.js +5 -1
  8. package/dist/cjs/Column1.js +1 -1
  9. package/dist/cjs/Column2.js +1 -1
  10. package/dist/cjs/Column3.js +1 -1
  11. package/dist/cjs/ConferenceArticleCard.js +15 -15
  12. package/dist/cjs/ContentCardPaginated.js +1 -1
  13. package/dist/cjs/DeckContent.js +9 -9
  14. package/dist/cjs/Dfp-9be904d5.js +1 -1
  15. package/dist/cjs/EventsDeck.js +17 -17
  16. package/dist/cjs/ExternalResources.js +1 -1
  17. package/dist/cjs/GridContent.js +2 -2
  18. package/dist/cjs/GridContentPaginated.js +2 -2
  19. package/dist/cjs/HamMagazine.js +10 -10
  20. package/dist/cjs/Header.js +1 -1
  21. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  22. package/dist/cjs/HorizontalArticleListing.js +1 -1
  23. package/dist/cjs/IssueLanding.js +32 -32
  24. package/dist/cjs/KMTracker.js +15 -15
  25. package/dist/cjs/LeftNav.js +1 -1
  26. package/dist/cjs/MasterDeck.js +10 -10
  27. package/dist/cjs/MasterDeckPaginated.js +10 -10
  28. package/dist/cjs/{MediaSeriesCard-84fa20f4.js → MediaSeriesCard-1b1bd850.js} +66 -44
  29. package/dist/cjs/MediaSeriesLanding.js +9 -9
  30. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
  31. package/dist/cjs/NavDvm.js +1 -1
  32. package/dist/cjs/NavMagazine.js +11 -11
  33. package/dist/cjs/NavNative.js +10 -10
  34. package/dist/cjs/PartnerDetailListing.js +3 -3
  35. package/dist/cjs/PartnerDetailListingPaginated.js +3 -3
  36. package/dist/cjs/PubSection.js +2 -2
  37. package/dist/cjs/PublicationLanding.js +26 -26
  38. package/dist/cjs/QueueDeckExpanded.js +2 -2
  39. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -2
  40. package/dist/cjs/RelatedContent.js +28 -28
  41. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  42. package/dist/cjs/Segment.js +49 -0
  43. package/dist/cjs/SeriesListingDeck.js +1 -1
  44. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  45. package/dist/cjs/SideFooter.js +2 -2
  46. package/dist/cjs/TaxonomyDescription.js +1 -1
  47. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  48. package/dist/cjs/VideoSeriesCard.js +1 -1
  49. package/dist/cjs/VideoSeriesLandingPage.js +2 -2
  50. package/dist/cjs/View.js +147 -75
  51. package/dist/cjs/YoutubeGroup.js +4 -4
  52. package/dist/cjs/getSerializers.js +1 -1
  53. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  54. package/dist/cjs/getTargeting.js +1 -1
  55. package/dist/cjs/{index-7f3d9184.js → index-c5778fcd.js} +2 -0
  56. package/dist/cjs/index.js +5 -5
  57. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  58. package/dist/esm/AD.js +1 -1
  59. package/dist/esm/AD300x250.js +1 -1
  60. package/dist/esm/AD300x250x600.js +1 -1
  61. package/dist/esm/AD728x90.js +1 -1
  62. package/dist/esm/ADFloatingFooter.js +1 -1
  63. package/dist/esm/ADFooter.js +1 -1
  64. package/dist/esm/ADGutter.js +1 -1
  65. package/dist/esm/ADSkyscraper.js +1 -1
  66. package/dist/esm/ADSponsoredResources.js +1 -1
  67. package/dist/esm/ADWebcast.js +1 -1
  68. package/dist/esm/ADWelcome.js +1 -1
  69. package/dist/esm/AccordionPanel.js +1 -1
  70. package/dist/esm/AdSlot.js +1 -1
  71. package/dist/esm/AdSlotsProvider.js +1 -1
  72. package/dist/esm/AlgoliaSearch.js +14 -6
  73. package/dist/esm/AlphabeticList.js +1 -1
  74. package/dist/esm/ArticleCarousel.js +1 -1
  75. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  76. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  77. package/dist/esm/ArticleSeriesListing.js +1 -1
  78. package/dist/esm/Auth.js +20 -18
  79. package/dist/esm/AuthWrapper.js +20 -14
  80. package/dist/esm/Beam.js +1 -1
  81. package/dist/esm/Breadcrumbs.js +1 -1
  82. package/dist/esm/CMEDeck.js +6 -2
  83. package/dist/esm/Column1.js +1 -2
  84. package/dist/esm/Column2.js +1 -2
  85. package/dist/esm/Column3.js +1 -2
  86. package/dist/esm/ConferenceArticleCard.js +16 -16
  87. package/dist/esm/ContentCardPaginated.js +2 -2
  88. package/dist/esm/DeckContent.js +10 -10
  89. package/dist/esm/DeckQueue.js +1 -1
  90. package/dist/esm/DeckQueuePaginated.js +1 -1
  91. package/dist/esm/Dfp-102f0beb.js +1 -1
  92. package/dist/esm/EventsDeck.js +18 -18
  93. package/dist/esm/ExternalResources.js +2 -2
  94. package/dist/esm/Feature.js +1 -1
  95. package/dist/esm/ForbesHero.js +1 -1
  96. package/dist/esm/GridContent.js +3 -3
  97. package/dist/esm/GridContentPaginated.js +3 -3
  98. package/dist/esm/GridHero.js +1 -1
  99. package/dist/esm/GroupDeck.js +1 -1
  100. package/dist/esm/HamMagazine.js +10 -11
  101. package/dist/esm/Header.js +1 -2
  102. package/dist/esm/HealthCareProfessionalModal.js +2 -2
  103. package/dist/esm/Hero.js +1 -1
  104. package/dist/esm/HighlightenVideo.js +1 -1
  105. package/dist/esm/HorizontalArticleListing.js +2 -2
  106. package/dist/esm/HorizontalHero.js +1 -1
  107. package/dist/esm/IssueContentDeck.js +1 -1
  108. package/dist/esm/IssueDeck.js +1 -1
  109. package/dist/esm/IssueLanding.js +33 -33
  110. package/dist/esm/KMTracker.js +16 -16
  111. package/dist/esm/LeftNav.js +1 -2
  112. package/dist/esm/MasterDeck.js +11 -11
  113. package/dist/esm/MasterDeckPaginated.js +11 -11
  114. package/dist/esm/{MediaSeriesCard-22059712.js → MediaSeriesCard-029542ab.js} +66 -44
  115. package/dist/esm/MediaSeriesLanding.js +10 -10
  116. package/dist/esm/MediaSeriesLandingPaginated.js +10 -10
  117. package/dist/esm/NavDvm.js +1 -2
  118. package/dist/esm/NavMagazine.js +11 -12
  119. package/dist/esm/NavNative.js +10 -11
  120. package/dist/esm/OncliveHero.js +1 -1
  121. package/dist/esm/OncliveLargeHero.js +1 -1
  122. package/dist/esm/PageFilter.js +1 -1
  123. package/dist/esm/PartnerDetailListing.js +4 -4
  124. package/dist/esm/PartnerDetailListingPaginated.js +4 -4
  125. package/dist/esm/PdfDownload.js +1 -1
  126. package/dist/esm/PopUpModal.js +1 -1
  127. package/dist/esm/PtceDeck.js +1 -1
  128. package/dist/esm/PubSection.js +3 -3
  129. package/dist/esm/PubToc.js +1 -1
  130. package/dist/esm/PublicationDeck.js +1 -1
  131. package/dist/esm/PublicationLanding.js +27 -27
  132. package/dist/esm/QueueDeckExpanded.js +3 -3
  133. package/dist/esm/QueueDeckExpandedPaginated.js +3 -3
  134. package/dist/esm/RecentNews.js +1 -1
  135. package/dist/esm/RelatedContent.js +29 -29
  136. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  137. package/dist/esm/RolesDeck.js +1 -1
  138. package/dist/esm/Schema.js +1 -1
  139. package/dist/esm/Search.js +1 -1
  140. package/dist/esm/Segment.js +51 -2
  141. package/dist/esm/SeriesListingDeck.js +2 -2
  142. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  143. package/dist/esm/SetCookie.js +1 -1
  144. package/dist/esm/SideFooter.js +3 -3
  145. package/dist/esm/SocialIcons.js +1 -1
  146. package/dist/esm/SocialShare.js +1 -1
  147. package/dist/esm/TaxonomyCard.js +1 -1
  148. package/dist/esm/TaxonomyDescription.js +2 -2
  149. package/dist/esm/TemplateNormal.js +1 -1
  150. package/dist/esm/ThumbnailCard.js +1 -1
  151. package/dist/esm/Ustream.js +1 -1
  152. package/dist/esm/VerticalHero.js +1 -1
  153. package/dist/esm/VideoProgramLandingPage.js +2 -2
  154. package/dist/esm/VideoSeriesCard.js +2 -2
  155. package/dist/esm/VideoSeriesFilter.js +1 -1
  156. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  157. package/dist/esm/VideoSeriesListing.js +1 -1
  158. package/dist/esm/View.js +148 -76
  159. package/dist/esm/YahooHero.js +1 -1
  160. package/dist/esm/YoutubeGroup.js +5 -5
  161. package/dist/esm/getKeywords.js +1 -1
  162. package/dist/esm/getQuery.js +1 -1
  163. package/dist/esm/getRelatedArticle.js +1 -1
  164. package/dist/esm/getRootDocGroup.js +1 -1
  165. package/dist/esm/getSerializers.js +1 -1
  166. package/dist/esm/getSeriesDetail.js +1 -1
  167. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  168. package/dist/esm/getTargeting.js +1 -1
  169. package/dist/esm/{index-1df13f26.js → index-98646d5c.js} +2 -0
  170. package/dist/esm/index.js +5 -5
  171. package/dist/esm/stringify-2b084bee.js +1 -1
  172. package/dist/esm/timeDifferenceCalc.js +1 -1
  173. package/dist/esm/urlFor.js +1 -1
  174. package/dist/esm/ustream-api-d3714624.js +1 -1
  175. package/package.json +115 -115
  176. /package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-e87afe8a.js} +0 -0
  177. /package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-b5a3d436.js} +0 -0
  178. /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-5765a73a.js} +0 -0
  179. /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-5e36f317.js} +0 -0
@@ -117,4 +117,4 @@ var YahooHero = function YahooHero(props) {
117
117
  );
118
118
  };
119
119
 
120
- export default YahooHero;
120
+ export { YahooHero as default };
@@ -12,10 +12,10 @@ import 'react-dom';
12
12
  import 'prop-types';
13
13
  import './index-3f5c03b2.js';
14
14
 
15
- /*
16
- GROQ query -
17
- accepts an array of title, URL
18
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
15
+ /*
16
+ GROQ query -
17
+ accepts an array of title, URL
18
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
19
19
  */
20
20
 
21
21
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -362,4 +362,4 @@ var YoutubeGroup = function YoutubeGroup(props) {
362
362
  );
363
363
  };
364
364
 
365
- export default YoutubeGroup;
365
+ export { YoutubeGroup as default };
@@ -41,4 +41,4 @@ var getKeywords = function getKeywords(article) {
41
41
  return keywords;
42
42
  };
43
43
 
44
- export default getKeywords;
44
+ export { getKeywords as default };
@@ -23,4 +23,4 @@ var getQuery = function getQuery(type) {
23
23
  }
24
24
  };
25
25
 
26
- export default getQuery;
26
+ export { getQuery as default };
@@ -537,4 +537,4 @@ var getRelatedArticle = function () {
537
537
  };
538
538
  }();
539
539
 
540
- export default getRelatedArticle;
540
+ export { getRelatedArticle as default };
@@ -57,4 +57,4 @@ var getRootDocGroup = function () {
57
57
  };
58
58
  }();
59
59
 
60
- export default getRootDocGroup;
60
+ export { getRootDocGroup as default };
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-1df13f26.js';
2
+ export { g as default } from './index-98646d5c.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -35,4 +35,4 @@ var getSeriesDetail = function getSeriesDetail(article, currentSeries) {
35
35
  return seriesDetail;
36
36
  };
37
37
 
38
- export default getSeriesDetail;
38
+ export { getSeriesDetail as default };
@@ -2,18 +2,18 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -1,6 +1,6 @@
1
1
  import './extends-6d8e3924.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-04d979c9.js';
3
+ export { g as default } from './getTargeting-42f9b439.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
6
  import './_object-pie-133f504a.js';
@@ -8318,6 +8318,8 @@ var Quiz = function Quiz(_ref) {
8318
8318
  pageview = _ref.pageview,
8319
8319
  pageNumberFromURL = _ref.currentPage;
8320
8320
 
8321
+ if (!quizzes) return null;
8322
+
8321
8323
  var router = useRouter();
8322
8324
  var pageCount = quizzes.length;
8323
8325
 
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-1df13f26.js';
90
+ export { g as getSerializers } from './index-98646d5c.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -102,7 +102,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
102
102
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
103
103
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
104
104
  export { default as Schema } from './Schema.js';
105
- export { g as getTargeting } from './getTargeting-04d979c9.js';
105
+ export { g as getTargeting } from './getTargeting-42f9b439.js';
106
106
  export { default as getKeywords } from './getKeywords.js';
107
107
  export { default as getQuery } from './getQuery.js';
108
108
  import './toConsumableArray-f7074d7c.js';
@@ -131,9 +131,9 @@ import './visibility-sensor-72fd8f8b.js';
131
131
  import 'react-dom';
132
132
  import './main-1894c974.js';
133
133
  import './entities-6d9154b4.js';
134
- import './ADInfeed-6d1fc6bf.js';
134
+ import './ADInfeed-5765a73a.js';
135
135
  import './lodash-f97fd99a.js';
136
- import './ADlgInfeed-dc36c928.js';
136
+ import './ADlgInfeed-5e36f317.js';
137
137
  import './getContentCategory-15dcc413.js';
138
138
  import './get-3c308da4.js';
139
139
  import './eq-bdcbf886.js';
@@ -192,7 +192,7 @@ import 'swr';
192
192
  import 'passport-local';
193
193
  import 'mysql';
194
194
  import './md5-4e42248e.js';
195
- import './SeriesSlider-e495571f.js';
195
+ import './SeriesSlider-f771e20d.js';
196
196
  import './style-inject.es-1f59c1d0.js';
197
197
  import 'disqus-react';
198
198
  import 'react-twitter-embed';
@@ -1,4 +1,4 @@
1
- import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import { a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
@@ -34,4 +34,4 @@ var timeDifferenceCalc = function timeDifferenceCalc(articlePublishedDate) {
34
34
  return difference;
35
35
  };
36
36
 
37
- export default timeDifferenceCalc;
37
+ export { timeDifferenceCalc as default };
@@ -60,4 +60,4 @@ function urlFor(_ref) {
60
60
  return url;
61
61
  }
62
62
 
63
- export default urlFor;
63
+ export { urlFor as default };
@@ -101,4 +101,4 @@ var UstreamEmbed = function () {
101
101
  }), window.UstreamEmbed = a;
102
102
  }();
103
103
 
104
- export default UstreamEmbed;
104
+ export { UstreamEmbed as default };
package/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "@mjhls/mjh-framework",
3
- "version": "1.0.985-article-abstract-v2",
4
- "description": "Foundation Framework",
5
- "author": "mjh-framework",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/MJHLS/mjh-framework.git"
10
- },
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "engines": {
14
- "node": ">=8",
15
- "npm": ">=5"
16
- },
17
- "scripts": {
18
- "clean": "rimraf dist",
19
- "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
- "test:watch": "react-scripts test --env=jsdom",
21
- "build": "npm run clean && rollup -c",
22
- "start": "npm run clean && rollup -c -w",
23
- "prepare": "yarn run build",
24
- "predeploy": "cd example && yarn install && yarn run build",
25
- "deploy": "gh-pages -d example/build"
26
- },
27
- "peerDependencies": {
28
- "disqus-react": "^1.0.11",
29
- "next": "^9.0.0",
30
- "prop-types": "^15.5.4",
31
- "react": "^15.0.0 || ^16.0.0",
32
- "react-bootstrap": "^1.0.0-beta.14",
33
- "react-dom": "^15.0.0 || ^16.0.0",
34
- "react-share": "^4.0.1"
35
- },
36
- "devDependencies": {
37
- "@brightcove/react-player-loader": "^1.4.0",
38
- "@rollup/plugin-json": "^4.0.3",
39
- "@sanity/block-content-to-react": "^2.0.7",
40
- "@sanity/image-url": "^0.140.15",
41
- "@svgr/rollup": "2.4.1",
42
- "babel-core": "^6.26.3",
43
- "babel-eslint": "^8.2.5",
44
- "babel-plugin-external-helpers": "^6.22.0",
45
- "babel-plugin-transform-runtime": "^6.23.0",
46
- "babel-preset-env": "^1.7.0",
47
- "babel-preset-react": "^6.24.1",
48
- "babel-preset-stage-0": "^6.24.1",
49
- "cross-env": "^5.1.4",
50
- "eslint": "^5.0.1",
51
- "eslint-config-standard": "^11.0.0",
52
- "eslint-config-standard-react": "^6.0.0",
53
- "eslint-plugin-import": "^2.13.0",
54
- "eslint-plugin-node": "^7.0.1",
55
- "eslint-plugin-promise": "^4.0.0",
56
- "eslint-plugin-react": "^7.10.0",
57
- "eslint-plugin-react-hooks": "^2.3.0",
58
- "eslint-plugin-standard": "^3.1.0",
59
- "file-saver": "^2.0.5",
60
- "get-youtube-id": "^1.0.1",
61
- "gh-pages": "^1.2.0",
62
- "lodash": "^4.17.15",
63
- "md5": "^2.2.1",
64
- "moment": "^2.26.0",
65
- "moment-timezone": "^0.5.31",
66
- "next": "^9.2.0",
67
- "react": "^16.12.0",
68
- "react-bootstrap": "1.4.0",
69
- "react-device-detect": "^1.11.14",
70
- "react-dfp": "^0.19.0",
71
- "react-dom": "^16.12.0",
72
- "react-icons": "^3.8.0",
73
- "react-infinite-scroll-component": "^5.0.4",
74
- "react-lazyload": "^2.6.5",
75
- "react-paginate": "^7.1.3",
76
- "react-player": "^1.15.2",
77
- "react-scripts": "^1.1.4",
78
- "react-share": "^4.0.1",
79
- "react-social-icons": "^4.1.0",
80
- "react-visibility-sensor": "^5.1.1",
81
- "react-youtube": "^7.9.0",
82
- "rimraf": "^3.0.2",
83
- "rollup": "^2.7.3",
84
- "rollup-plugin-babel": "3.0.7",
85
- "rollup-plugin-commonjs": "9.3.4",
86
- "rollup-plugin-node-builtins": "2.1.2",
87
- "rollup-plugin-node-resolve": "3.4.0",
88
- "rollup-plugin-postcss": "1.6.3",
89
- "rollup-plugin-url": "1.4.0"
90
- },
91
- "files": [
92
- "dist"
93
- ],
94
- "dependencies": {
95
- "babel-polyfill": "^6.26.0",
96
- "cookie": "^0.4.1",
97
- "disqus-react": "^1.0.11",
98
- "faunadb": "^4.2.0",
99
- "js-cookie": "^2.2.1",
100
- "next-auth": "^3.2.0",
101
- "next-cookies": "^2.0.3",
102
- "node-fetch": "^2.6.1",
103
- "nookies": "^2.4.0",
104
- "react-cookies": "^0.1.1",
105
- "react-facebook": "^8.1.4",
106
- "react-instantsearch-dom": "^6.12.0",
107
- "react-script-tag": "^1.1.2",
108
- "rollup-plugin-peer-deps-external": "^2.2.4",
109
- "shortid": "^2.2.15",
110
- "smoothscroll-polyfill": "^0.4.4",
111
- "striptags": "^3.1.1",
112
- "superagent": "^5.2.2",
113
- "yarn": "^1.22.11"
114
- }
115
- }
1
+ {
2
+ "name": "@mjhls/mjh-framework",
3
+ "version": "1.0.986-article-rec-test",
4
+ "description": "Foundation Framework",
5
+ "author": "mjh-framework",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/MJHLS/mjh-framework.git"
10
+ },
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "engines": {
14
+ "node": ">=8",
15
+ "npm": ">=5"
16
+ },
17
+ "scripts": {
18
+ "clean": "rimraf dist",
19
+ "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
+ "test:watch": "react-scripts test --env=jsdom",
21
+ "build": "npm run clean && rollup -c",
22
+ "start": "npm run clean && rollup -c -w",
23
+ "prepare": "yarn run build",
24
+ "predeploy": "cd example && yarn install && yarn run build",
25
+ "deploy": "gh-pages -d example/build"
26
+ },
27
+ "peerDependencies": {
28
+ "disqus-react": "^1.0.11",
29
+ "next": "^9.0.0",
30
+ "prop-types": "^15.5.4",
31
+ "react": "^15.0.0 || ^16.0.0",
32
+ "react-bootstrap": "^1.0.0-beta.14",
33
+ "react-dom": "^15.0.0 || ^16.0.0",
34
+ "react-share": "^4.0.1"
35
+ },
36
+ "devDependencies": {
37
+ "@brightcove/react-player-loader": "^1.4.0",
38
+ "@rollup/plugin-json": "^4.0.3",
39
+ "@sanity/block-content-to-react": "^2.0.7",
40
+ "@sanity/image-url": "^0.140.15",
41
+ "@svgr/rollup": "2.4.1",
42
+ "babel-core": "^6.26.3",
43
+ "babel-eslint": "^8.2.5",
44
+ "babel-plugin-external-helpers": "^6.22.0",
45
+ "babel-plugin-transform-runtime": "^6.23.0",
46
+ "babel-preset-env": "^1.7.0",
47
+ "babel-preset-react": "^6.24.1",
48
+ "babel-preset-stage-0": "^6.24.1",
49
+ "cross-env": "^5.1.4",
50
+ "eslint": "^5.0.1",
51
+ "eslint-config-standard": "^11.0.0",
52
+ "eslint-config-standard-react": "^6.0.0",
53
+ "eslint-plugin-import": "^2.13.0",
54
+ "eslint-plugin-node": "^7.0.1",
55
+ "eslint-plugin-promise": "^4.0.0",
56
+ "eslint-plugin-react": "^7.10.0",
57
+ "eslint-plugin-react-hooks": "^2.3.0",
58
+ "eslint-plugin-standard": "^3.1.0",
59
+ "file-saver": "^2.0.5",
60
+ "get-youtube-id": "^1.0.1",
61
+ "gh-pages": "^1.2.0",
62
+ "lodash": "^4.17.15",
63
+ "md5": "^2.2.1",
64
+ "moment": "^2.26.0",
65
+ "moment-timezone": "^0.5.31",
66
+ "next": "^9.2.0",
67
+ "react": "^16.12.0",
68
+ "react-bootstrap": "1.4.0",
69
+ "react-device-detect": "^1.11.14",
70
+ "react-dfp": "^0.19.0",
71
+ "react-dom": "^16.12.0",
72
+ "react-icons": "^3.8.0",
73
+ "react-infinite-scroll-component": "^5.0.4",
74
+ "react-lazyload": "^2.6.5",
75
+ "react-paginate": "^7.1.3",
76
+ "react-player": "^1.15.2",
77
+ "react-scripts": "^1.1.4",
78
+ "react-share": "^4.0.1",
79
+ "react-social-icons": "^4.1.0",
80
+ "react-visibility-sensor": "^5.1.1",
81
+ "react-youtube": "^7.9.0",
82
+ "rimraf": "^3.0.2",
83
+ "rollup": "^2.7.3",
84
+ "rollup-plugin-babel": "3.0.7",
85
+ "rollup-plugin-commonjs": "9.3.4",
86
+ "rollup-plugin-node-builtins": "2.1.2",
87
+ "rollup-plugin-node-resolve": "3.4.0",
88
+ "rollup-plugin-postcss": "1.6.3",
89
+ "rollup-plugin-url": "1.4.0"
90
+ },
91
+ "files": [
92
+ "dist"
93
+ ],
94
+ "dependencies": {
95
+ "babel-polyfill": "^6.26.0",
96
+ "cookie": "^0.4.1",
97
+ "disqus-react": "^1.0.11",
98
+ "faunadb": "^4.2.0",
99
+ "js-cookie": "^2.2.1",
100
+ "next-auth": "^3.2.0",
101
+ "next-cookies": "^2.0.3",
102
+ "node-fetch": "^2.6.1",
103
+ "nookies": "^2.4.0",
104
+ "react-cookies": "^0.1.1",
105
+ "react-facebook": "^8.1.4",
106
+ "react-instantsearch-dom": "^6.12.0",
107
+ "react-script-tag": "^1.1.2",
108
+ "rollup-plugin-peer-deps-external": "^2.2.4",
109
+ "shortid": "^2.2.15",
110
+ "smoothscroll-polyfill": "^0.4.4",
111
+ "striptags": "^3.1.1",
112
+ "superagent": "^5.2.2",
113
+ "yarn": "^1.22.11"
114
+ }
115
+ }