@zohodesk/react-cli 0.0.1-exp.160.1 → 0.0.1-exp.161.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +183 -183
  3. package/README.md +785 -746
  4. package/bin/cli.js +421 -421
  5. package/cert/cert.pem +37 -37
  6. package/cert/key.pem +27 -27
  7. package/files/eslintrc.js +62 -62
  8. package/files/prettierrc.js +3 -3
  9. package/lib/common/index.js +6 -6
  10. package/lib/configs/webpack.css.umd.config.js +4 -4
  11. package/lib/loaderUtils/index.js +4 -4
  12. package/lib/loaders/scriptInstrumentLoader.js +2 -2
  13. package/lib/loaders/workerLoader.js +9 -9
  14. package/lib/pluginUtils/getDevPlugins.js +7 -5
  15. package/lib/pluginUtils/getProdPlugins.js +7 -5
  16. package/lib/pluginUtils/index.js +12 -12
  17. package/lib/plugins/EFCPlugin.js +43 -13
  18. package/lib/plugins/EFCPlugin.md +6 -6
  19. package/lib/plugins/EFCTemplatePlugin.js +151 -0
  20. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  21. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  22. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  23. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  24. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +86 -86
  25. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  26. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  27. package/lib/plugins/I18nSplitPlugin/utils/hashUtils.js +2 -2
  28. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +1 -1
  29. package/lib/plugins/ManifestPlugin.js +8 -0
  30. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  31. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  32. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  33. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  34. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  35. package/lib/plugins/index.js +36 -36
  36. package/lib/postcss-plugins/RTLSplitPlugin.js +13 -13
  37. package/lib/schemas/index.js +3 -0
  38. package/lib/sh/pre-commit.sh +34 -34
  39. package/lib/sh/reportPublish.sh +45 -45
  40. package/lib/templates/linterConstant.js +1 -1
  41. package/lib/utils/buildstats.html +148 -148
  42. package/lib/utils/cssClassNameGenerate.js +9 -2
  43. package/lib/utils/cssURLReplacer.js +1 -1
  44. package/lib/utils/index.js +21 -19
  45. package/lib/utils/jsonHelper.js +1 -1
  46. package/lib/utils/reinstallDependencies.js +1 -1
  47. package/lib/utils/resultSchema.json +73 -73
  48. package/node_modules0/history/CHANGES.md +395 -0
  49. package/node_modules0/history/DOMUtils.js +3 -0
  50. package/node_modules0/history/ExecutionEnvironment.js +3 -0
  51. package/node_modules0/history/LICENSE +21 -0
  52. package/node_modules0/history/LocationUtils.js +3 -0
  53. package/node_modules0/history/PathUtils.js +3 -0
  54. package/node_modules0/history/README.md +282 -0
  55. package/node_modules0/history/cjs/history.js +933 -0
  56. package/node_modules0/history/cjs/history.min.js +1 -0
  57. package/node_modules0/history/createBrowserHistory.js +3 -0
  58. package/node_modules0/history/createHashHistory.js +3 -0
  59. package/node_modules0/history/createMemoryHistory.js +3 -0
  60. package/node_modules0/history/createTransitionManager.js +3 -0
  61. package/node_modules0/history/es/DOMUtils.js +7 -0
  62. package/node_modules0/history/es/ExecutionEnvironment.js +7 -0
  63. package/node_modules0/history/es/LocationUtils.js +7 -0
  64. package/node_modules0/history/es/PathUtils.js +7 -0
  65. package/node_modules0/history/es/createBrowserHistory.js +7 -0
  66. package/node_modules0/history/es/createHashHistory.js +7 -0
  67. package/node_modules0/history/es/createMemoryHistory.js +7 -0
  68. package/node_modules0/history/es/createTransitionManager.js +7 -0
  69. package/node_modules0/history/es/warnAboutDeprecatedESMImport.js +35 -0
  70. package/node_modules0/history/esm/history.js +904 -0
  71. package/node_modules0/history/index.js +7 -0
  72. package/node_modules0/history/package.json +120 -0
  73. package/node_modules0/history/umd/history.js +1059 -0
  74. package/node_modules0/history/umd/history.min.js +1 -0
  75. package/node_modules0/history/warnAboutDeprecatedCJSRequire.js +35 -0
  76. package/package.json +145 -145
  77. package/templates/app/.eslintrc.js +140 -140
  78. package/templates/app/README.md +12 -12
  79. package/templates/app/app/index.html +24 -24
  80. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  81. package/templates/app/app/properties/i18nkeys.json +3 -3
  82. package/templates/app/docs/all.html +69 -69
  83. package/templates/app/mockapi/index.js +18 -18
  84. package/templates/app/package.json +37 -37
  85. package/templates/app/src/actions/SampleActions/index.js +37 -37
  86. package/templates/app/src/actions/index.js +65 -65
  87. package/templates/app/src/appUrls.js +19 -19
  88. package/templates/app/src/components/Alert/Alert.js +134 -134
  89. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  90. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  91. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  92. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  93. package/templates/app/src/components/Sample/SampleList.js +61 -61
  94. package/templates/app/src/components/Slider/Slider.css +41 -41
  95. package/templates/app/src/components/Slider/Slider.js +55 -55
  96. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  97. package/templates/app/src/containers/AppContainer/index.js +96 -96
  98. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  99. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  100. package/templates/app/src/containers/DevTools/index.js +10 -10
  101. package/templates/app/src/containers/Header/index.js +67 -67
  102. package/templates/app/src/containers/Header/index.module.css +43 -43
  103. package/templates/app/src/containers/Redirect/index.js +63 -63
  104. package/templates/app/src/containers/Redirector/index.js +47 -47
  105. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  106. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  107. package/templates/app/src/historyChange.js +5 -5
  108. package/templates/app/src/index.html +10 -10
  109. package/templates/app/src/index.js +24 -24
  110. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  111. package/templates/app/src/reducers/alertData.js +11 -11
  112. package/templates/app/src/reducers/index.js +6 -6
  113. package/templates/app/src/reducers/samples.js +19 -19
  114. package/templates/app/src/store/configureStore.dev.js +51 -51
  115. package/templates/app/src/store/configureStore.js +5 -5
  116. package/templates/app/src/store/configureStore.prod.js +26 -26
  117. package/templates/app/src/util/Common.js +5 -5
  118. package/templates/app/src/util/RequestAPI.js +132 -132
  119. package/templates/docs/all.html +249 -249
  120. package/templates/docs/component.html +178 -178
  121. package/templates/docs/components.html +221 -221
  122. package/templates/docs/css/b.min.css +6 -6
  123. package/templates/docs/css/component.css +42 -42
  124. package/templates/docs/css/componentTest.css +6 -6
  125. package/templates/docs/css/hopscotch.css +585 -585
  126. package/templates/docs/css/style.css +1022 -1022
  127. package/templates/docs/impactReportTemplate.html +154 -154
  128. package/templates/docs/index.html +1493 -1493
  129. package/templates/docs/js/active-line.js +72 -72
  130. package/templates/docs/js/b.min.js +7 -7
  131. package/templates/docs/js/codemirror.js +9680 -9680
  132. package/templates/docs/js/designTokens.js +334 -334
  133. package/templates/docs/js/j.min.js +4 -4
  134. package/templates/docs/js/javascript.js +874 -874
  135. package/templates/docs/js/matchbrackets.js +145 -145
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./cjs/history.min.js');
5
+ } else {
6
+ module.exports = require('./cjs/history.js');
7
+ }
@@ -0,0 +1,120 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ "history@4.9.0",
5
+ "/home/kumar-zt375/work/react-cli"
6
+ ]
7
+ ],
8
+ "_from": "history@4.9.0",
9
+ "_id": "history@4.9.0",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-H2DkjCjXf0Op9OAr6nJ56fcRkTSNrUiv41vNJ6IswJjif6wlpZK0BTfFbi7qK9dXLSYZxkq5lBsj3vUjlYBYZA==",
12
+ "_location": "/history",
13
+ "_phantomChildren": {},
14
+ "_requested": {
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "history@4.9.0",
18
+ "name": "history",
19
+ "escapedName": "history",
20
+ "rawSpec": "4.9.0",
21
+ "saveSpec": null,
22
+ "fetchSpec": "4.9.0"
23
+ },
24
+ "_requiredBy": [
25
+ "/",
26
+ "/react-router"
27
+ ],
28
+ "_resolved": "https://registry.npmjs.org/history/-/history-4.9.0.tgz",
29
+ "_spec": "4.9.0",
30
+ "_where": "/home/kumar-zt375/work/react-cli",
31
+ "author": {
32
+ "name": "Michael Jackson"
33
+ },
34
+ "browserify": {
35
+ "transform": [
36
+ "loose-envify"
37
+ ]
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/ReactTraining/history/issues"
41
+ },
42
+ "dependencies": {
43
+ "@babel/runtime": "^7.1.2",
44
+ "loose-envify": "^1.2.0",
45
+ "resolve-pathname": "^2.2.0",
46
+ "tiny-invariant": "^1.0.2",
47
+ "tiny-warning": "^1.0.0",
48
+ "value-equal": "^0.4.0"
49
+ },
50
+ "description": "Manage session history with JavaScript",
51
+ "devDependencies": {
52
+ "@babel/core": "^7.1.2",
53
+ "@babel/plugin-transform-object-assign": "^7.0.0",
54
+ "@babel/plugin-transform-runtime": "^7.1.0",
55
+ "@babel/preset-env": "^7.1.0",
56
+ "babel-core": "^7.0.0-bridge.0",
57
+ "babel-eslint": "^7.0.0",
58
+ "babel-loader": "^8.0.4",
59
+ "babel-plugin-dev-expression": "^0.2.1",
60
+ "eslint": "^3.3.0",
61
+ "eslint-plugin-import": "^2.0.0",
62
+ "expect": "^21.0.0",
63
+ "jest-mock": "^21.0.0",
64
+ "karma": "^3.1.3",
65
+ "karma-browserstack-launcher": "^1.3.0",
66
+ "karma-chrome-launcher": "^2.2.0",
67
+ "karma-firefox-launcher": "^1.1.0",
68
+ "karma-mocha": "^1.3.0",
69
+ "karma-mocha-reporter": "^2.2.5",
70
+ "karma-sourcemap-loader": "^0.3.7",
71
+ "karma-webpack": "^3.0.5",
72
+ "mocha": "^5.2.0",
73
+ "rollup": "^0.66.6",
74
+ "rollup-plugin-babel": "^4.0.3",
75
+ "rollup-plugin-commonjs": "^9.2.0",
76
+ "rollup-plugin-node-resolve": "^3.4.0",
77
+ "rollup-plugin-replace": "^2.1.0",
78
+ "rollup-plugin-size-snapshot": "^0.7.0",
79
+ "rollup-plugin-uglify": "^6.0.0",
80
+ "webpack": "^3.12.0"
81
+ },
82
+ "files": [
83
+ "DOMUtils.js",
84
+ "ExecutionEnvironment.js",
85
+ "LocationUtils.js",
86
+ "PathUtils.js",
87
+ "cjs",
88
+ "createBrowserHistory.js",
89
+ "createHashHistory.js",
90
+ "createMemoryHistory.js",
91
+ "createTransitionManager.js",
92
+ "es",
93
+ "esm",
94
+ "umd",
95
+ "warnAboutDeprecatedCJSRequire.js"
96
+ ],
97
+ "homepage": "https://github.com/ReactTraining/history#readme",
98
+ "keywords": [
99
+ "history",
100
+ "location"
101
+ ],
102
+ "license": "MIT",
103
+ "main": "index.js",
104
+ "module": "esm/history.js",
105
+ "name": "history",
106
+ "repository": {
107
+ "type": "git",
108
+ "url": "git+https://github.com/ReactTraining/history.git"
109
+ },
110
+ "scripts": {
111
+ "build": "rollup -c",
112
+ "clean": "git clean -fdX .",
113
+ "lint": "eslint modules",
114
+ "prepublishOnly": "npm run build",
115
+ "test": "karma start --single-run"
116
+ },
117
+ "sideEffects": false,
118
+ "unpkg": "umd/history.js",
119
+ "version": "4.9.0"
120
+ }