Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.JEST_CONFIG_EXT_ORDER =
  6. exports.JEST_CONFIG_EXT_JSON =
  7. exports.JEST_CONFIG_EXT_TS =
  8. exports.JEST_CONFIG_EXT_JS =
  9. exports.JEST_CONFIG_EXT_MJS =
  10. exports.JEST_CONFIG_EXT_CJS =
  11. exports.JEST_CONFIG_BASE_NAME =
  12. exports.PACKAGE_JSON =
  13. exports.DEFAULT_REPORTER_LABEL =
  14. exports.DEFAULT_JS_PATTERN =
  15. exports.NODE_MODULES =
  16. void 0;
  17. function path() {
  18. const data = _interopRequireWildcard(require('path'));
  19. path = function () {
  20. return data;
  21. };
  22. return data;
  23. }
  24. function _getRequireWildcardCache(nodeInterop) {
  25. if (typeof WeakMap !== 'function') return null;
  26. var cacheBabelInterop = new WeakMap();
  27. var cacheNodeInterop = new WeakMap();
  28. return (_getRequireWildcardCache = function (nodeInterop) {
  29. return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
  30. })(nodeInterop);
  31. }
  32. function _interopRequireWildcard(obj, nodeInterop) {
  33. if (!nodeInterop && obj && obj.__esModule) {
  34. return obj;
  35. }
  36. if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
  37. return {default: obj};
  38. }
  39. var cache = _getRequireWildcardCache(nodeInterop);
  40. if (cache && cache.has(obj)) {
  41. return cache.get(obj);
  42. }
  43. var newObj = {};
  44. var hasPropertyDescriptor =
  45. Object.defineProperty && Object.getOwnPropertyDescriptor;
  46. for (var key in obj) {
  47. if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
  48. var desc = hasPropertyDescriptor
  49. ? Object.getOwnPropertyDescriptor(obj, key)
  50. : null;
  51. if (desc && (desc.get || desc.set)) {
  52. Object.defineProperty(newObj, key, desc);
  53. } else {
  54. newObj[key] = obj[key];
  55. }
  56. }
  57. }
  58. newObj.default = obj;
  59. if (cache) {
  60. cache.set(obj, newObj);
  61. }
  62. return newObj;
  63. }
  64. /**
  65. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  66. *
  67. * This source code is licensed under the MIT license found in the
  68. * LICENSE file in the root directory of this source tree.
  69. */
  70. const NODE_MODULES = path().sep + 'node_modules' + path().sep;
  71. exports.NODE_MODULES = NODE_MODULES;
  72. const DEFAULT_JS_PATTERN = '\\.[jt]sx?$';
  73. exports.DEFAULT_JS_PATTERN = DEFAULT_JS_PATTERN;
  74. const DEFAULT_REPORTER_LABEL = 'default';
  75. exports.DEFAULT_REPORTER_LABEL = DEFAULT_REPORTER_LABEL;
  76. const PACKAGE_JSON = 'package.json';
  77. exports.PACKAGE_JSON = PACKAGE_JSON;
  78. const JEST_CONFIG_BASE_NAME = 'jest.config';
  79. exports.JEST_CONFIG_BASE_NAME = JEST_CONFIG_BASE_NAME;
  80. const JEST_CONFIG_EXT_CJS = '.cjs';
  81. exports.JEST_CONFIG_EXT_CJS = JEST_CONFIG_EXT_CJS;
  82. const JEST_CONFIG_EXT_MJS = '.mjs';
  83. exports.JEST_CONFIG_EXT_MJS = JEST_CONFIG_EXT_MJS;
  84. const JEST_CONFIG_EXT_JS = '.js';
  85. exports.JEST_CONFIG_EXT_JS = JEST_CONFIG_EXT_JS;
  86. const JEST_CONFIG_EXT_TS = '.ts';
  87. exports.JEST_CONFIG_EXT_TS = JEST_CONFIG_EXT_TS;
  88. const JEST_CONFIG_EXT_JSON = '.json';
  89. exports.JEST_CONFIG_EXT_JSON = JEST_CONFIG_EXT_JSON;
  90. const JEST_CONFIG_EXT_ORDER = Object.freeze([
  91. JEST_CONFIG_EXT_JS,
  92. JEST_CONFIG_EXT_TS,
  93. JEST_CONFIG_EXT_MJS,
  94. JEST_CONFIG_EXT_CJS,
  95. JEST_CONFIG_EXT_JSON
  96. ]);
  97. exports.JEST_CONFIG_EXT_ORDER = JEST_CONFIG_EXT_ORDER;