@x-edu/live-player 0.0.35 → 0.0.36

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.
@@ -1295,7 +1295,6 @@ module.exports = function transformData(data, headers, fns) {
1295
1295
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1296
1296
 
1297
1297
  "use strict";
1298
- /* provided dependency */ var process = __webpack_require__(4155);
1299
1298
 
1300
1299
 
1301
1300
  var utils = __webpack_require__(4867);
@@ -24076,197 +24075,6 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
24076
24075
  };
24077
24076
 
24078
24077
 
24079
- /***/ }),
24080
-
24081
- /***/ 4155:
24082
- /***/ (function(module) {
24083
-
24084
- // shim for using process in browser
24085
- var process = module.exports = {};
24086
-
24087
- // cached from whatever global is present so that test runners that stub it
24088
- // don't break things. But we need to wrap it in a try catch in case it is
24089
- // wrapped in strict mode code which doesn't define any globals. It's inside a
24090
- // function because try/catches deoptimize in certain engines.
24091
-
24092
- var cachedSetTimeout;
24093
- var cachedClearTimeout;
24094
-
24095
- function defaultSetTimout() {
24096
- throw new Error('setTimeout has not been defined');
24097
- }
24098
- function defaultClearTimeout () {
24099
- throw new Error('clearTimeout has not been defined');
24100
- }
24101
- (function () {
24102
- try {
24103
- if (typeof setTimeout === 'function') {
24104
- cachedSetTimeout = setTimeout;
24105
- } else {
24106
- cachedSetTimeout = defaultSetTimout;
24107
- }
24108
- } catch (e) {
24109
- cachedSetTimeout = defaultSetTimout;
24110
- }
24111
- try {
24112
- if (typeof clearTimeout === 'function') {
24113
- cachedClearTimeout = clearTimeout;
24114
- } else {
24115
- cachedClearTimeout = defaultClearTimeout;
24116
- }
24117
- } catch (e) {
24118
- cachedClearTimeout = defaultClearTimeout;
24119
- }
24120
- } ())
24121
- function runTimeout(fun) {
24122
- if (cachedSetTimeout === setTimeout) {
24123
- //normal enviroments in sane situations
24124
- return setTimeout(fun, 0);
24125
- }
24126
- // if setTimeout wasn't available but was latter defined
24127
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
24128
- cachedSetTimeout = setTimeout;
24129
- return setTimeout(fun, 0);
24130
- }
24131
- try {
24132
- // when when somebody has screwed with setTimeout but no I.E. maddness
24133
- return cachedSetTimeout(fun, 0);
24134
- } catch(e){
24135
- try {
24136
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
24137
- return cachedSetTimeout.call(null, fun, 0);
24138
- } catch(e){
24139
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
24140
- return cachedSetTimeout.call(this, fun, 0);
24141
- }
24142
- }
24143
-
24144
-
24145
- }
24146
- function runClearTimeout(marker) {
24147
- if (cachedClearTimeout === clearTimeout) {
24148
- //normal enviroments in sane situations
24149
- return clearTimeout(marker);
24150
- }
24151
- // if clearTimeout wasn't available but was latter defined
24152
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
24153
- cachedClearTimeout = clearTimeout;
24154
- return clearTimeout(marker);
24155
- }
24156
- try {
24157
- // when when somebody has screwed with setTimeout but no I.E. maddness
24158
- return cachedClearTimeout(marker);
24159
- } catch (e){
24160
- try {
24161
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
24162
- return cachedClearTimeout.call(null, marker);
24163
- } catch (e){
24164
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
24165
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
24166
- return cachedClearTimeout.call(this, marker);
24167
- }
24168
- }
24169
-
24170
-
24171
-
24172
- }
24173
- var queue = [];
24174
- var draining = false;
24175
- var currentQueue;
24176
- var queueIndex = -1;
24177
-
24178
- function cleanUpNextTick() {
24179
- if (!draining || !currentQueue) {
24180
- return;
24181
- }
24182
- draining = false;
24183
- if (currentQueue.length) {
24184
- queue = currentQueue.concat(queue);
24185
- } else {
24186
- queueIndex = -1;
24187
- }
24188
- if (queue.length) {
24189
- drainQueue();
24190
- }
24191
- }
24192
-
24193
- function drainQueue() {
24194
- if (draining) {
24195
- return;
24196
- }
24197
- var timeout = runTimeout(cleanUpNextTick);
24198
- draining = true;
24199
-
24200
- var len = queue.length;
24201
- while(len) {
24202
- currentQueue = queue;
24203
- queue = [];
24204
- while (++queueIndex < len) {
24205
- if (currentQueue) {
24206
- currentQueue[queueIndex].run();
24207
- }
24208
- }
24209
- queueIndex = -1;
24210
- len = queue.length;
24211
- }
24212
- currentQueue = null;
24213
- draining = false;
24214
- runClearTimeout(timeout);
24215
- }
24216
-
24217
- process.nextTick = function (fun) {
24218
- var args = new Array(arguments.length - 1);
24219
- if (arguments.length > 1) {
24220
- for (var i = 1; i < arguments.length; i++) {
24221
- args[i - 1] = arguments[i];
24222
- }
24223
- }
24224
- queue.push(new Item(fun, args));
24225
- if (queue.length === 1 && !draining) {
24226
- runTimeout(drainQueue);
24227
- }
24228
- };
24229
-
24230
- // v8 likes predictible objects
24231
- function Item(fun, array) {
24232
- this.fun = fun;
24233
- this.array = array;
24234
- }
24235
- Item.prototype.run = function () {
24236
- this.fun.apply(null, this.array);
24237
- };
24238
- process.title = 'browser';
24239
- process.browser = true;
24240
- process.env = {};
24241
- process.argv = [];
24242
- process.version = ''; // empty string to avoid regexp issues
24243
- process.versions = {};
24244
-
24245
- function noop() {}
24246
-
24247
- process.on = noop;
24248
- process.addListener = noop;
24249
- process.once = noop;
24250
- process.off = noop;
24251
- process.removeListener = noop;
24252
- process.removeAllListeners = noop;
24253
- process.emit = noop;
24254
- process.prependListener = noop;
24255
- process.prependOnceListener = noop;
24256
-
24257
- process.listeners = function (name) { return [] }
24258
-
24259
- process.binding = function (name) {
24260
- throw new Error('process.binding is not supported');
24261
- };
24262
-
24263
- process.cwd = function () { return '/' };
24264
- process.chdir = function (dir) {
24265
- throw new Error('process.chdir is not supported');
24266
- };
24267
- process.umask = function() { return 0; };
24268
-
24269
-
24270
24078
  /***/ }),
24271
24079
 
24272
24080
  /***/ 2703:
@@ -25916,7 +25724,7 @@ module.exports = __webpack_require__(5666);
25916
25724
  /***/ 3006:
25917
25725
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
25918
25726
 
25919
- var _regeneratorRuntime = __webpack_require__(5273);
25727
+ var _regeneratorRuntime = __webpack_require__(7757);
25920
25728
 
25921
25729
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
25922
25730
 
@@ -26040,7 +25848,7 @@ module.exports = PromiseLock;
26040
25848
 
26041
25849
  "use strict";
26042
25850
  __webpack_require__.r(__webpack_exports__);
26043
- var env = window.__global_env || "ncet-xedu";
25851
+ var env = window.__global_env || process.env.SDP_ENV;
26044
25852
  console.log(env);
26045
25853
 
26046
25854
  var config = __webpack_require__(2730)("./".concat(env)).default;
@@ -26211,7 +26019,7 @@ var config = {
26211
26019
  // 百度私有环境, 课时活动临时获取习题的动态接口
26212
26020
  'x-class-hour-activity': '//x-class-hour-activity.beta.gsmartedu.cn',
26213
26021
  // 学校信息
26214
- 'edu-admin-public-base': '//edu-admin-public-base.ytk.eduyun.cn',
26022
+ 'edu-admin-public-base': '//edu-admin-public-base.beta.gsmartedu.cn',
26215
26023
  // uc s3优化接口, 主要用于头像上传
26216
26024
  'uc-s3': '//x-cloud-web.beta.gsmartedu.cn',
26217
26025
  // 聚合后台
@@ -29170,7 +28978,6 @@ function alias(type) {
29170
28978
  return newType;
29171
28979
  }
29172
28980
  ;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/icon/icon-react/utils.js
29173
- /* provided dependency */ var process = __webpack_require__(4155);
29174
28981
 
29175
28982
 
29176
28983
 
@@ -29178,7 +28985,7 @@ function alias(type) {
29178
28985
 
29179
28986
 
29180
28987
  function log(message) {
29181
- if (!(process && ({"BASE_URL":"/","NODE_ENV":"production","BUILD_ON_LOCAL":true,"SDP_ENV":"ncet-xedu"}) && "production" === 'production')) {
28988
+ if (!(process && process.env && "production" === 'production')) {
29182
28989
  // eslint-disable-next-line no-console
29183
28990
  console.error("[fish/icons-react]: ".concat(message, "."));
29184
28991
  }
@@ -30646,6 +30453,17 @@ var Request = /*#__PURE__*/function () {
30646
30453
  }();
30647
30454
 
30648
30455
 
30456
+ ;// CONCATENATED MODULE: ./src/util/getTimestamp.js
30457
+ /**
30458
+ * 获取时间戳
30459
+ * @param {number} second 时间间隔,以秒为单位,超过
30460
+ * @returns {string} 时间戳
30461
+ */
30462
+ function getTimestamp(second) {
30463
+ // 转换毫秒
30464
+ var now = Math.floor(Date.now() / 1000);
30465
+ return Math.floor(now / second) * second;
30466
+ }
30649
30467
  // EXTERNAL MODULE: ./src/util/env.js
30650
30468
  var util_env = __webpack_require__(2983);
30651
30469
  // EXTERNAL MODULE: ./src/util/url.js
@@ -30833,7 +30651,7 @@ function rawAPI(params) {
30833
30651
  } // 本地构建请求禁用缓存
30834
30652
 
30835
30653
 
30836
- if (({"BASE_URL":"/","NODE_ENV":"production","BUILD_ON_LOCAL":true,"SDP_ENV":"ncet-xedu"}).DEV) {// headers['Cache-Control'] = 'no-cache'
30654
+ if (process.env.DEV) {// headers['Cache-Control'] = 'no-cache'
30837
30655
  }
30838
30656
  }
30839
30657
 
@@ -30863,7 +30681,9 @@ function generateCommonAPI(params) {
30863
30681
  case 0:
30864
30682
  c.params = c.params || {};
30865
30683
 
30866
- if (false) {}
30684
+ if (process.env.SDP_ENV !== 'ncet-xedu') {
30685
+ c.params.v = (_c$params$v = c.params.v) !== null && _c$params$v !== void 0 ? _c$params$v : getTimestamp(10 * 60);
30686
+ }
30867
30687
 
30868
30688
  return _context.abrupt("return", c);
30869
30689
 
@@ -31056,7 +30876,10 @@ function generateAPIWithProxy(params) {
31056
30876
  return _context6.abrupt("return", c);
31057
30877
 
31058
30878
  case 2:
31059
- if (false) {}
30879
+ if (!(process.env.SDP_ENV === 'ncet-xedu')) {
30880
+ _context6.next = 4;
30881
+ break;
30882
+ }
31060
30883
 
31061
30884
  return _context6.abrupt("return", c);
31062
30885
 
@@ -31181,9 +31004,6 @@ var SUB_TYPE = {
31181
31004
  OUTSIDE: 2,
31182
31005
  REBROADCAST: 3
31183
31006
  };
31184
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
31185
- var runtime_regenerator = __webpack_require__(5273);
31186
- var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
31187
31007
  // EXTERNAL MODULE: ./node_modules/mutex-lock/src/index.js
31188
31008
  var src = __webpack_require__(3006);
31189
31009
  var src_default = /*#__PURE__*/__webpack_require__.n(src);
@@ -31236,7 +31056,7 @@ function getServiceConfig(_x) {
31236
31056
  }
31237
31057
 
31238
31058
  function _getServiceConfig() {
31239
- _getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(serviceName) {
31059
+ _getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(serviceName) {
31240
31060
  var sdpAppId,
31241
31061
  env,
31242
31062
  key,
@@ -31248,7 +31068,7 @@ function _getServiceConfig() {
31248
31068
  result,
31249
31069
  ttl,
31250
31070
  _args = arguments;
31251
- return runtime_regenerator_default().wrap(function _callee$(_context) {
31071
+ return regenerator_default().wrap(function _callee$(_context) {
31252
31072
  while (1) {
31253
31073
  switch (_context.prev = _context.next) {
31254
31074
  case 0:
@@ -31512,13 +31332,13 @@ function withOnce(fn) {
31512
31332
  var lockPool = createLockPool();
31513
31333
 
31514
31334
  var newFn = /*#__PURE__*/function () {
31515
- var _ref3 = hof_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2() {
31335
+ var _ref3 = hof_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2() {
31516
31336
  var key,
31517
31337
  lock,
31518
31338
  lockId,
31519
31339
  result,
31520
31340
  _args2 = arguments;
31521
- return runtime_regenerator_default().wrap(function _callee2$(_context2) {
31341
+ return regenerator_default().wrap(function _callee2$(_context2) {
31522
31342
  while (1) {
31523
31343
  switch (_context2.prev = _context2.next) {
31524
31344
  case 0:
@@ -33148,6 +32968,9 @@ function createSuper_createSuper(Derived) {
33148
32968
  return possibleConstructorReturn_possibleConstructorReturn(this, result);
33149
32969
  };
33150
32970
  }
32971
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
32972
+ var runtime_regenerator = __webpack_require__(5273);
32973
+ var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
33151
32974
  ;// CONCATENATED MODULE: external {"commonjs":"react-dom","commonjs2":"react-dom","root":"ReactDOM"}
33152
32975
  var external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject = require("react-dom");
33153
32976
  var external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject);
@@ -38673,7 +38496,6 @@ function asyncToGenerator_asyncToGenerator(fn) {
38673
38496
  };
38674
38497
  }
38675
38498
  ;// CONCATENATED MODULE: ./node_modules/async-validator/dist-web/index.js
38676
- /* provided dependency */ var dist_web_process = __webpack_require__(4155);
38677
38499
  function dist_web_extends() {
38678
38500
  dist_web_extends = Object.assign ? Object.assign.bind() : function (target) {
38679
38501
  for (var i = 1; i < arguments.length; i++) {
@@ -38785,7 +38607,7 @@ function _wrapNativeSuper(Class) {
38785
38607
  var formatRegExp = /%[sdj%]/g;
38786
38608
  var dist_web_warning = function warning() {}; // don't print warning message when in production env or node runtime
38787
38609
 
38788
- if (typeof dist_web_process !== 'undefined' && ({"BASE_URL":"/","NODE_ENV":"production","BUILD_ON_LOCAL":true,"SDP_ENV":"ncet-xedu"}) && "production" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
38610
+ if (typeof process !== 'undefined' && process.env && "production" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
38789
38611
  dist_web_warning = function warning(type, errors) {
38790
38612
  if (typeof console !== 'undefined' && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === 'undefined') {
38791
38613
  if (errors.every(function (e) {
@@ -55148,7 +54970,7 @@ var apiCommon = generateCommonAPI({
55148
54970
  });
55149
54971
  ;// CONCATENATED MODULE: ./src/config/request/assessments.js
55150
54972
 
55151
- var assessments_env = "ncet-xedu";
54973
+ var assessments_env = process.env.SDP_ENV;
55152
54974
  var assessments_assessmentApi = generateCommonAPIWithUC({
55153
54975
  hostKey: 'e-assessment-api',
55154
54976
  prefix: '/v1'
@@ -60179,11 +60001,11 @@ function tabs_Tabs(_a) {
60179
60001
  var _classNames;
60180
60002
 
60181
60003
  var size = propSize !== undefined ? propSize : contextSize;
60182
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, esm_extends_extends({
60004
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, extends_extends({
60183
60005
  direction: direction,
60184
60006
  moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
60185
60007
  }, props, {
60186
- className: classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
60008
+ className: classnames_default()((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), _defineProperty(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), _defineProperty(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), _defineProperty(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
60187
60009
  editable: editable,
60188
60010
  moreIcon: moreIcon,
60189
60011
  prefixCls: prefixCls
@@ -61380,13 +61202,13 @@ var Pagination_Pagination = function Pagination(_a) {
61380
61202
  var renderPagination = function renderPagination(contextLocale) {
61381
61203
  var _classNames;
61382
61204
 
61383
- var locale = esm_extends_extends(esm_extends_extends({}, contextLocale), customLocale);
61205
+ var locale = extends_extends(extends_extends({}, contextLocale), customLocale);
61384
61206
 
61385
61207
  var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
61386
61208
  var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
61387
61209
  var extendedClassName = classnames_default()((_classNames = {
61388
61210
  mini: isSmall
61389
- }, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
61211
+ }, _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
61390
61212
 
61391
61213
  if (minimalistic) {
61392
61214
  paginationProps.itemRender = function (_current, type, originalElement) {
@@ -61423,7 +61245,7 @@ var Pagination_Pagination = function Pagination(_a) {
61423
61245
  paginationProps.showQuickJumper = showQuickJumper;
61424
61246
  }
61425
61247
 
61426
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, esm_extends_extends({}, paginationProps, getIconsProps(), restProps, {
61248
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, extends_extends({}, paginationProps, getIconsProps(), restProps, {
61427
61249
  prefixCls: prefixCls,
61428
61250
  selectPrefixCls: selectPrefixCls,
61429
61251
  className: extendedClassName,
@@ -61893,10 +61715,10 @@ function Action(_ref) {
61893
61715
  setCurAction = _useState2[1];
61894
61716
 
61895
61717
  var handleBtnClick = /*#__PURE__*/function () {
61896
- var _ref2 = Action_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(e) {
61718
+ var _ref2 = Action_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(e) {
61897
61719
  var now, begin, _error$response, _error$response$data, _error$response2, _error$response2$data;
61898
61720
 
61899
- return runtime_regenerator_default().wrap(function _callee$(_context) {
61721
+ return regenerator_default().wrap(function _callee$(_context) {
61900
61722
  while (1) {
61901
61723
  switch (_context.prev = _context.next) {
61902
61724
  case 0:
@@ -62205,9 +62027,9 @@ function ListItem(_ref) {
62205
62027
  setIsSubscribe = _useState4[1];
62206
62028
 
62207
62029
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
62208
- ListItem_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
62030
+ ListItem_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
62209
62031
  var res;
62210
- return runtime_regenerator_default().wrap(function _callee$(_context) {
62032
+ return regenerator_default().wrap(function _callee$(_context) {
62211
62033
  while (1) {
62212
62034
  switch (_context.prev = _context.next) {
62213
62035
  case 0:
@@ -62228,8 +62050,8 @@ function ListItem(_ref) {
62228
62050
  }, []);
62229
62051
 
62230
62052
  var handleDetailClick = /*#__PURE__*/function () {
62231
- var _ref3 = ListItem_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2() {
62232
- return runtime_regenerator_default().wrap(function _callee2$(_context2) {
62053
+ var _ref3 = ListItem_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2() {
62054
+ return regenerator_default().wrap(function _callee2$(_context2) {
62233
62055
  while (1) {
62234
62056
  switch (_context2.prev = _context2.next) {
62235
62057
  case 0:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-edu/live-player",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "main": "dist/XEduLivePlayer.common.js",
5
5
  "files": [
6
6
  "dist/*"
@@ -12,10 +12,7 @@
12
12
  "start:ncet": "cross-env SDP_ENV=ncet-xedu gms dev",
13
13
  "start:ie11-ncet": "cross-env SDP_ENV=ncet-xedu BROWSERSLIST_ENV=production gms dev",
14
14
  "start:prod": "cross-env SDP_ENV=product gms dev",
15
- "build": "gms build",
16
- "build:lib-ncet": "cross-env SDP_ENV=ncet-xedu gms build --target=lib --excludeReact --formats=commonjs --name XEduLivePlayer",
17
- "build:lib-pre": "cross-env SDP_ENV=preproduction gms build --target=lib --excludeReact --formats=commonjs --name XEduLivePlayerPre --no-cleanDist",
18
- "build:lib": "npm run build:lib-ncet && npm run build:lib-pre",
15
+ "build": "gms build --target=lib --excludeReact --formats=commonjs --name XEduLivePlayer",
19
16
  "cache:clean": "rimraf node_modules/.cache",
20
17
  "test": "gms test:unit",
21
18
  "test:coverage": "gms test:unit --coverage --collectCoverageFrom='src/**/*.{js,jsx}'",