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.

questions.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.testScriptQuestion = exports.default = void 0;
  6. /**
  7. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  8. *
  9. * This source code is licensed under the MIT license found in the
  10. * LICENSE file in the root directory of this source tree.
  11. */
  12. const defaultQuestions = [
  13. {
  14. initial: false,
  15. message: 'Would you like to use Typescript for the configuration file?',
  16. name: 'useTypescript',
  17. type: 'confirm'
  18. },
  19. {
  20. choices: [
  21. {
  22. title: 'node',
  23. value: 'node'
  24. },
  25. {
  26. title: 'jsdom (browser-like)',
  27. value: 'jsdom'
  28. }
  29. ],
  30. initial: 0,
  31. message: 'Choose the test environment that will be used for testing',
  32. name: 'environment',
  33. type: 'select'
  34. },
  35. {
  36. initial: false,
  37. message: 'Do you want Jest to add coverage reports?',
  38. name: 'coverage',
  39. type: 'confirm'
  40. },
  41. {
  42. choices: [
  43. {
  44. title: 'v8',
  45. value: 'v8'
  46. },
  47. {
  48. title: 'babel',
  49. value: 'babel'
  50. }
  51. ],
  52. initial: 0,
  53. message: 'Which provider should be used to instrument code for coverage?',
  54. name: 'coverageProvider',
  55. type: 'select'
  56. },
  57. {
  58. initial: false,
  59. message: 'Automatically clear mock calls and instances between every test?',
  60. name: 'clearMocks',
  61. type: 'confirm'
  62. }
  63. ];
  64. var _default = defaultQuestions;
  65. exports.default = _default;
  66. const testScriptQuestion = {
  67. initial: true,
  68. message:
  69. 'Would you like to use Jest when running "test" script in "package.json"?',
  70. name: 'scripts',
  71. type: 'confirm'
  72. };
  73. exports.testScriptQuestion = testScriptQuestion;