@zohodesk/react-cli 0.0.1-exp.176.1 → 0.0.1-exp.176.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +180 -180
  3. package/.prettierrc +6 -6
  4. package/README.md +1023 -1025
  5. package/bin/cli.js +482 -482
  6. package/cert/Tsicsezwild-22-23.crt +37 -37
  7. package/cert/Tsicsezwild-22-23.key +27 -27
  8. package/docs/CustomChunks.md +26 -26
  9. package/docs/DevStart.md +18 -18
  10. package/docs/HoverActive.md +12 -12
  11. package/docs/InstallNode.md +28 -28
  12. package/docs/SelectorWeight.md +6 -6
  13. package/docs/TODOS.md +10 -10
  14. package/docs/ValueReplacer.md +60 -60
  15. package/docs/VariableConversion.md +710 -719
  16. package/docs/warnings_while_install.txt +35 -35
  17. package/files/eslintrc.js +62 -62
  18. package/files/prettierrc.js +3 -3
  19. package/lib/configs/webpack.css.umd.config.js +4 -4
  20. package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
  21. package/lib/loaders/workerLoader.js +9 -9
  22. package/lib/pluginUtils/getDevPlugins.js +5 -5
  23. package/lib/pluginUtils/getProdPlugins.js +5 -5
  24. package/lib/plugins/EFCPlugin.md +6 -6
  25. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  26. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  27. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  28. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  29. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  30. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  31. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  32. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  33. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  34. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  35. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  36. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  37. package/lib/plugins/VariableConversionCollector.js +92 -162
  38. package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
  39. package/lib/postcss-plugins/__test__/test1Input.css +38 -38
  40. package/lib/postcss-plugins/__test__/test1Output.css +38 -38
  41. package/lib/postcss-plugins/hoverActivePlugin.js +3 -3
  42. package/lib/postcss-plugins/variableModificationPlugin/ErrorHandler.js +2 -4
  43. package/lib/postcss-plugins/variableModificationPlugin/index.js +1 -2
  44. package/lib/sh/pre-commit.sh +34 -34
  45. package/lib/sh/reportPublish.sh +45 -45
  46. package/lib/utils/buildstats.html +148 -148
  47. package/lib/utils/cssURLReplacer.js +30 -43
  48. package/lib/utils/getFileType.js +49 -0
  49. package/lib/utils/resultSchema.json +73 -73
  50. package/npm8.md +9 -9
  51. package/package.json +147 -146
  52. package/postpublish.js +6 -6
  53. package/templates/app/.eslintrc.js +140 -140
  54. package/templates/app/README.md +12 -12
  55. package/templates/app/app/index.html +24 -24
  56. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  57. package/templates/app/app/properties/i18nkeys.json +3 -3
  58. package/templates/app/docs/all.html +69 -69
  59. package/templates/app/mockapi/index.js +18 -18
  60. package/templates/app/package.json +37 -37
  61. package/templates/app/src/actions/SampleActions/index.js +37 -37
  62. package/templates/app/src/actions/index.js +65 -65
  63. package/templates/app/src/appUrls.js +19 -19
  64. package/templates/app/src/components/Alert/Alert.js +134 -134
  65. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  66. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  67. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  68. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  69. package/templates/app/src/components/Sample/SampleList.js +61 -61
  70. package/templates/app/src/components/Slider/Slider.css +41 -41
  71. package/templates/app/src/components/Slider/Slider.js +55 -55
  72. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  73. package/templates/app/src/containers/AppContainer/index.js +96 -96
  74. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  75. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  76. package/templates/app/src/containers/DevTools/index.js +10 -10
  77. package/templates/app/src/containers/Header/index.js +67 -67
  78. package/templates/app/src/containers/Header/index.module.css +43 -43
  79. package/templates/app/src/containers/Redirect/index.js +63 -63
  80. package/templates/app/src/containers/Redirector/index.js +47 -47
  81. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  82. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  83. package/templates/app/src/historyChange.js +5 -5
  84. package/templates/app/src/index.html +10 -10
  85. package/templates/app/src/index.js +24 -24
  86. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  87. package/templates/app/src/reducers/alertData.js +11 -11
  88. package/templates/app/src/reducers/index.js +6 -6
  89. package/templates/app/src/reducers/samples.js +19 -19
  90. package/templates/app/src/store/configureStore.dev.js +51 -51
  91. package/templates/app/src/store/configureStore.js +5 -5
  92. package/templates/app/src/store/configureStore.prod.js +26 -26
  93. package/templates/app/src/util/Common.js +5 -5
  94. package/templates/app/src/util/RequestAPI.js +132 -132
  95. package/templates/docs/all.html +249 -249
  96. package/templates/docs/component.html +178 -178
  97. package/templates/docs/components.html +221 -221
  98. package/templates/docs/css/b.min.css +6 -6
  99. package/templates/docs/css/component.css +42 -42
  100. package/templates/docs/css/componentTest.css +6 -6
  101. package/templates/docs/css/hopscotch.css +585 -585
  102. package/templates/docs/css/style.css +1022 -1022
  103. package/templates/docs/impactReportTemplate.html +154 -154
  104. package/templates/docs/index.html +1501 -1501
  105. package/templates/docs/js/active-line.js +72 -72
  106. package/templates/docs/js/b.min.js +7 -7
  107. package/templates/docs/js/codemirror.js +9680 -9680
  108. package/templates/docs/js/designTokens.js +334 -334
  109. package/templates/docs/js/j.min.js +4 -4
  110. package/templates/docs/js/javascript.js +874 -874
  111. package/templates/docs/js/matchbrackets.js +145 -145
@@ -1,73 +1,73 @@
1
- {
2
- "jobDetails": {
3
- "isTriggeredFromGit": true,
4
- "isCIPassed": true,
5
- "developerName": "GITLAB_USER_NAME",
6
- "jobID": "CI_PIPELINE_ID",
7
- "branchName": "CI_COMMIT_REF_NAME",
8
- "commitMessage": "CI_COMMIT_MESSAGE",
9
- "jobURL": "CI_JOB_URL",
10
- "isByManual": "CI_JOB_MANUAL",
11
- "commitID": "CI_COMMIT_SHA",
12
- "executionTime": "Date.now()-Date.now()",
13
- "hostName": "kathir-zt252"
14
- },
15
- "tests": {
16
- "unitCase": {
17
- "startTime": "123455",
18
- "endTime": "123446",
19
- "isExecuted": true,
20
- "numberOfSuccess": "",
21
- "numberOfFails": "",
22
- "numberOfCases": "",
23
- "numberOfSuites": "",
24
- "fileDetail": {
25
- "fileName": "sample.spec.js",
26
- "caseDetail": {
27
- "failedCaseLists": [],
28
- "passedCaseList": []
29
- }
30
- },
31
- "coverageDetail": {
32
- "codeCoveragePercentage": "",
33
- "fileCoveragePercentage": ""
34
- }
35
- },
36
- "modifiedFileUnitCase": {
37
- "hasChanges": "true",
38
- "startTime": "123455",
39
- "endTime": "123446",
40
- "isExecuted": true,
41
- "isPassed": true,
42
- "numberOfSuccess": "",
43
- "numberOfFails": "",
44
- "numberOfCases": "",
45
- "numberOfSuites": "",
46
- "fileDetail": {
47
- "fileName": "sample.spec.js",
48
- "caseDetail": {
49
- "failedCaseLists": [],
50
- "passedCaseList": []
51
- }
52
- },
53
- "coverageDetail": {
54
- "codeCoveragePercentage": "",
55
- "fileCoveragePercentage": ""
56
- }
57
- },
58
- "screenshotTest": {
59
- "message": "some",
60
- "startTime": "123455",
61
- "endTime": "123446",
62
- "isThisExecuted": true,
63
- "compareBranch": "master",
64
- "isPassed": true,
65
- "result": {
66
- "numberOfComponents": 200,
67
- "numberOfDiffFiles": 20,
68
- "improperDocsList": [],
69
- "erroredComponents": []
70
- }
71
- }
72
- }
73
- }
1
+ {
2
+ "jobDetails": {
3
+ "isTriggeredFromGit": true,
4
+ "isCIPassed": true,
5
+ "developerName": "GITLAB_USER_NAME",
6
+ "jobID": "CI_PIPELINE_ID",
7
+ "branchName": "CI_COMMIT_REF_NAME",
8
+ "commitMessage": "CI_COMMIT_MESSAGE",
9
+ "jobURL": "CI_JOB_URL",
10
+ "isByManual": "CI_JOB_MANUAL",
11
+ "commitID": "CI_COMMIT_SHA",
12
+ "executionTime": "Date.now()-Date.now()",
13
+ "hostName": "kathir-zt252"
14
+ },
15
+ "tests": {
16
+ "unitCase": {
17
+ "startTime": "123455",
18
+ "endTime": "123446",
19
+ "isExecuted": true,
20
+ "numberOfSuccess": "",
21
+ "numberOfFails": "",
22
+ "numberOfCases": "",
23
+ "numberOfSuites": "",
24
+ "fileDetail": {
25
+ "fileName": "sample.spec.js",
26
+ "caseDetail": {
27
+ "failedCaseLists": [],
28
+ "passedCaseList": []
29
+ }
30
+ },
31
+ "coverageDetail": {
32
+ "codeCoveragePercentage": "",
33
+ "fileCoveragePercentage": ""
34
+ }
35
+ },
36
+ "modifiedFileUnitCase": {
37
+ "hasChanges": "true",
38
+ "startTime": "123455",
39
+ "endTime": "123446",
40
+ "isExecuted": true,
41
+ "isPassed": true,
42
+ "numberOfSuccess": "",
43
+ "numberOfFails": "",
44
+ "numberOfCases": "",
45
+ "numberOfSuites": "",
46
+ "fileDetail": {
47
+ "fileName": "sample.spec.js",
48
+ "caseDetail": {
49
+ "failedCaseLists": [],
50
+ "passedCaseList": []
51
+ }
52
+ },
53
+ "coverageDetail": {
54
+ "codeCoveragePercentage": "",
55
+ "fileCoveragePercentage": ""
56
+ }
57
+ },
58
+ "screenshotTest": {
59
+ "message": "some",
60
+ "startTime": "123455",
61
+ "endTime": "123446",
62
+ "isThisExecuted": true,
63
+ "compareBranch": "master",
64
+ "isPassed": true,
65
+ "result": {
66
+ "numberOfComponents": 200,
67
+ "numberOfDiffFiles": 20,
68
+ "improperDocsList": [],
69
+ "erroredComponents": []
70
+ }
71
+ }
72
+ }
73
+ }
package/npm8.md CHANGED
@@ -1,9 +1,9 @@
1
- # npm 8 change related things
2
-
3
- 1. in npm run script config options `:` not working (properly|correctly), So we need to use `_` in the place of `:`
4
- For Example:
5
- - `--app:port` wouldn't work we have to do like this `--app_port`
6
- - `--clone:proj:name` wouldn't work we have to do like this `----clone_proj_name`
7
-
8
- @zohodes/react-cli or fz-react-cli regardless of what cli you use.
9
- So, we need to change all package.json script which is using this (`:`) we need to change as (`_`)
1
+ # npm 8 change related things
2
+
3
+ 1. in npm run script config options `:` not working (properly|correctly), So we need to use `_` in the place of `:`
4
+ For Example:
5
+ - `--app:port` wouldn't work we have to do like this `--app_port`
6
+ - `--clone:proj:name` wouldn't work we have to do like this `----clone_proj_name`
7
+
8
+ @zohodes/react-cli or fz-react-cli regardless of what cli you use.
9
+ So, we need to change all package.json script which is using this (`:`) we need to change as (`_`)
package/package.json CHANGED
@@ -1,146 +1,147 @@
1
- {
2
- "name": "@zohodesk/react-cli",
3
- "version": "0.0.1-exp.176.1",
4
- "description": "A CLI tool for build modern web application and libraries",
5
- "scripts": {
6
- "init": "node ./lib/utils/init.js",
7
- "clean": "rimraf lib coverage",
8
- "test": "jest",
9
- "start": "babel src -d lib -w --copy-files",
10
- "build": "babel src -d lib --copy-files",
11
- "prepare": "npm run clean && npm run build",
12
- "lint": "eslint src ./bin/cli.js",
13
- "postpublish": "node postpublish.js",
14
- "expublish": "npm publish --tag experimental-version"
15
- },
16
- "engines": {
17
- "node": ">=8.15.1"
18
- },
19
- "private": false,
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://git.csez.zohocorpin.com/zohodesk/react-cli.git"
23
- },
24
- "author": "zohodesk",
25
- "license": "ISC",
26
- "bugs": {
27
- "url": "https://git.csez.zohocorpin.com/zohodesk/react-cli/issues"
28
- },
29
- "homepage": "https://git.csez.zohocorpin.com/zohodesk/react-cli/blob/2.0.0/README.md",
30
- "dependencies": {
31
- "@babel/cli": "7.10.5",
32
- "@babel/core": "7.11.1",
33
- "@babel/plugin-proposal-object-rest-spread": "7.11.0",
34
- "@babel/plugin-syntax-dynamic-import": "7.8.3",
35
- "@babel/plugin-transform-runtime": "7.11.0",
36
- "@babel/preset-env": "7.11.0",
37
- "@babel/preset-react": "7.10.4",
38
- "@babel/runtime": "7.11.2",
39
- "@zohodesk/datetimejs": "1.0.0-beta.8",
40
- "@zohodesk/eslint-plugin-react-performance": "1.0.3",
41
- "@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
42
- "@zohodesk/normalizer": "1.0.2",
43
- "@zohodesk/postcss-rtl": "1.5.2",
44
- "@zohodesk/propertytojson": "1.0.1",
45
- "@zohodesk/screenshot-test": "0.0.1-beta.20",
46
- "babel-eslint": "10.1.0",
47
- "babel-jest": "26.3.0",
48
- "babel-loader": "8.1.0",
49
- "babel-plugin-lodash": "3.3.4",
50
- "babel-plugin-transform-define": "2.0.0",
51
- "babel-plugin-transform-dynamic-import": "2.1.0",
52
- "babel-plugin-transform-react-remove-prop-types": "0.4.24",
53
- "babel-plugin-transform-remove-console": "6.9.4",
54
- "case-sensitive-paths-webpack-plugin": "2.3.0",
55
- "compression": "1.7.4",
56
- "copy-webpack-plugin": "5.1.2",
57
- "core-js": "3.6.5",
58
- "css-loader": "4.2.1",
59
- "debug": "4.3.3",
60
- "escodegen": "2.0.0",
61
- "eslint": "7.6.0",
62
- "eslint-html-reporter": "0.7.4",
63
- "eslint-loader": "4.0.2",
64
- "eslint-plugin-css-modules": "2.11.0",
65
- "eslint-plugin-react": "7.20.6",
66
- "esprima": "4.0.1",
67
- "expect": "26.4.0",
68
- "express": "4.17.1",
69
- "file-loader": "6.0.0",
70
- "fz-i18n": "1.2.0-beta.15",
71
- "fz-layout": "1.0.0-beta.8",
72
- "fz-permission": "0.0.2",
73
- "git-root-dir": "1.0.2",
74
- "gitlab": "14.2.2",
75
- "history": "4.9.0",
76
- "hoist-non-react-statics": "3.3.2",
77
- "html-loader": "1.1.0",
78
- "html-webpack-inject-attributes-plugin": "1.0.6",
79
- "html-webpack-plugin": "4.3.0",
80
- "http-proxy-middleware": "1.0.5",
81
- "jest": "26.4.0",
82
- "jsdom": "16.4.0",
83
- "loader-utils": "2.0.0",
84
- "lodash-webpack-plugin": "0.11.5",
85
- "mini-css-extract-plugin": "0.10.0",
86
- "moment": "2.29.1",
87
- "moment-timezone": "0.5.32",
88
- "nock": "13.0.4",
89
- "nodemailer": "6.4.11",
90
- "nodemon": "2.0.4",
91
- "optimize-js": "1.0.3",
92
- "postcss": "7.0.32",
93
- "postcss-combine-media-query": "1.0.1",
94
- "postcss-hash-classname": "0.4.0",
95
- "postcss-loader": "3.0.0",
96
- "postcss-mobile-hover": "1.0.2",
97
- "postcss-selector-replace": "1.0.2",
98
- "prop-types": "15.7.2",
99
- "react": "16.13.1",
100
- "react-dom": "16.13.1",
101
- "react-error-overlay": "6.0.7",
102
- "react-redux": "7.2.1",
103
- "react-router": "5.2.0",
104
- "react-router-redux": "4.0.8",
105
- "react-test-renderer": "16.13.1",
106
- "react-transition-group": "2.7.1",
107
- "redis": "3.0.2",
108
- "redux": "4.0.5",
109
- "redux-logger": "3.0.6",
110
- "redux-mock-store": "1.5.4",
111
- "redux-router-middleware": "1.0.0-beta.22",
112
- "redux-thunk": "2.3.0",
113
- "reselect": "4.0.0",
114
- "rimraf": "3.0.2",
115
- "script-loader": "0.7.2",
116
- "selectn": "1.1.2",
117
- "simple-normalizr": "1.2.5",
118
- "uglifycss": "0.0.29",
119
- "url-loader": "4.1.0",
120
- "velocity-react": "1.4.3",
121
- "webpack": "4.44.1",
122
- "webpack-bundle-analyzer": "4.5.0",
123
- "webpack-cli": "3.3.12",
124
- "webpack-core": "0.6.9",
125
- "webpack-dev-middleware": "3.7.2",
126
- "ws": "7.3.1",
127
- "xhr2": "0.2.0",
128
- "xmlhttprequest": "1.8.0"
129
- },
130
- "bin": {
131
- "react-cli": "bin/cli.js"
132
- },
133
- "babel": {
134
- "presets": [
135
- [
136
- "@babel/env",
137
- {
138
- "targets": {
139
- "node": "8.15.1"
140
- }
141
- }
142
- ],
143
- "@babel/react"
144
- ]
145
- }
146
- }
1
+ {
2
+ "name": "@zohodesk/react-cli",
3
+ "version": "0.0.1-exp.176.11",
4
+ "description": "A CLI tool for build modern web application and libraries",
5
+ "scripts": {
6
+ "init": "node ./lib/utils/init.js",
7
+ "clean": "rimraf lib coverage",
8
+ "test": "jest",
9
+ "start": "babel src -d lib -w --copy-files",
10
+ "build": "babel src -d lib --copy-files",
11
+ "prepare": "npm run clean && npm run build",
12
+ "prepublish": "npm prune now",
13
+ "lint": "eslint src ./bin/cli.js",
14
+ "postpublish": "node postpublish.js",
15
+ "expublish": "npm publish --tag experimental-version"
16
+ },
17
+ "engines": {
18
+ "node": ">=8.15.1"
19
+ },
20
+ "private": false,
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://git.csez.zohocorpin.com/zohodesk/react-cli.git"
24
+ },
25
+ "author": "zohodesk",
26
+ "license": "ISC",
27
+ "bugs": {
28
+ "url": "https://git.csez.zohocorpin.com/zohodesk/react-cli/issues"
29
+ },
30
+ "homepage": "https://git.csez.zohocorpin.com/zohodesk/react-cli/blob/2.0.0/README.md",
31
+ "dependencies": {
32
+ "@babel/cli": "7.10.5",
33
+ "@babel/core": "7.11.1",
34
+ "@babel/plugin-proposal-object-rest-spread": "7.11.0",
35
+ "@babel/plugin-syntax-dynamic-import": "7.8.3",
36
+ "@babel/plugin-transform-runtime": "7.11.0",
37
+ "@babel/preset-env": "7.11.0",
38
+ "@babel/preset-react": "7.10.4",
39
+ "@babel/runtime": "7.11.2",
40
+ "@zohodesk/datetimejs": "1.0.0-beta.8",
41
+ "@zohodesk/eslint-plugin-react-performance": "1.0.3",
42
+ "@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
43
+ "@zohodesk/normalizer": "1.0.2",
44
+ "@zohodesk/postcss-rtl": "1.5.2",
45
+ "@zohodesk/propertytojson": "1.0.1",
46
+ "@zohodesk/screenshot-test": "0.0.1-beta.20",
47
+ "babel-eslint": "10.1.0",
48
+ "babel-jest": "26.3.0",
49
+ "babel-loader": "8.1.0",
50
+ "babel-plugin-lodash": "3.3.4",
51
+ "babel-plugin-transform-define": "2.0.0",
52
+ "babel-plugin-transform-dynamic-import": "2.1.0",
53
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
54
+ "babel-plugin-transform-remove-console": "6.9.4",
55
+ "case-sensitive-paths-webpack-plugin": "2.3.0",
56
+ "compression": "1.7.4",
57
+ "copy-webpack-plugin": "5.1.2",
58
+ "core-js": "3.6.5",
59
+ "css-loader": "4.2.1",
60
+ "debug": "4.3.3",
61
+ "escodegen": "2.0.0",
62
+ "eslint": "7.6.0",
63
+ "eslint-html-reporter": "0.7.4",
64
+ "eslint-loader": "4.0.2",
65
+ "eslint-plugin-css-modules": "2.11.0",
66
+ "eslint-plugin-react": "7.20.6",
67
+ "esprima": "4.0.1",
68
+ "expect": "26.4.0",
69
+ "express": "4.17.1",
70
+ "file-loader": "6.0.0",
71
+ "fz-i18n": "1.2.0-beta.15",
72
+ "fz-layout": "1.0.0-beta.8",
73
+ "fz-permission": "0.0.2",
74
+ "git-root-dir": "1.0.2",
75
+ "gitlab": "14.2.2",
76
+ "history": "4.9.0",
77
+ "hoist-non-react-statics": "3.3.2",
78
+ "html-loader": "1.1.0",
79
+ "html-webpack-inject-attributes-plugin": "1.0.6",
80
+ "html-webpack-plugin": "4.3.0",
81
+ "http-proxy-middleware": "1.0.5",
82
+ "jest": "26.4.0",
83
+ "jsdom": "16.4.0",
84
+ "loader-utils": "2.0.0",
85
+ "lodash-webpack-plugin": "0.11.5",
86
+ "mini-css-extract-plugin": "0.10.0",
87
+ "moment": "2.29.1",
88
+ "moment-timezone": "0.5.32",
89
+ "nock": "13.0.4",
90
+ "nodemailer": "6.4.11",
91
+ "nodemon": "2.0.4",
92
+ "optimize-js": "1.0.3",
93
+ "postcss": "7.0.32",
94
+ "postcss-combine-media-query": "1.0.1",
95
+ "postcss-hash-classname": "0.4.0",
96
+ "postcss-loader": "3.0.0",
97
+ "postcss-mobile-hover": "1.0.2",
98
+ "postcss-selector-replace": "1.0.2",
99
+ "prop-types": "15.7.2",
100
+ "react": "16.13.1",
101
+ "react-dom": "16.13.1",
102
+ "react-error-overlay": "6.0.7",
103
+ "react-redux": "7.2.1",
104
+ "react-router": "5.2.0",
105
+ "react-router-redux": "4.0.8",
106
+ "react-test-renderer": "16.13.1",
107
+ "react-transition-group": "2.7.1",
108
+ "redis": "3.0.2",
109
+ "redux": "4.0.5",
110
+ "redux-logger": "3.0.6",
111
+ "redux-mock-store": "1.5.4",
112
+ "redux-router-middleware": "1.0.0-beta.22",
113
+ "redux-thunk": "2.3.0",
114
+ "reselect": "4.0.0",
115
+ "rimraf": "3.0.2",
116
+ "script-loader": "0.7.2",
117
+ "selectn": "1.1.2",
118
+ "simple-normalizr": "1.2.5",
119
+ "uglifycss": "0.0.29",
120
+ "url-loader": "4.1.0",
121
+ "velocity-react": "1.4.3",
122
+ "webpack": "4.44.1",
123
+ "webpack-bundle-analyzer": "4.5.0",
124
+ "webpack-cli": "3.3.12",
125
+ "webpack-core": "0.6.9",
126
+ "webpack-dev-middleware": "3.7.2",
127
+ "ws": "7.3.1",
128
+ "xhr2": "0.2.0",
129
+ "xmlhttprequest": "1.8.0"
130
+ },
131
+ "bin": {
132
+ "react-cli": "bin/cli.js"
133
+ },
134
+ "babel": {
135
+ "presets": [
136
+ [
137
+ "@babel/env",
138
+ {
139
+ "targets": {
140
+ "node": "8.15.1"
141
+ }
142
+ }
143
+ ],
144
+ "@babel/react"
145
+ ]
146
+ }
147
+ }
package/postpublish.js CHANGED
@@ -1,6 +1,6 @@
1
- const { execSync } = require('child_process');
2
- const { version } = require('./package.json');
3
- console.log(`going to add git tag... v${version}`);
4
-
5
- execSync(`git tag -a v${version}`, { stdio: 'inherit' });
6
- execSync(`git push origin v${version}`, { stdio: 'inherit' });
1
+ const { execSync } = require('child_process');
2
+ const { version } = require('./package.json');
3
+ console.log(`going to add git tag... v${version}`);
4
+
5
+ execSync(`git tag -a v${version}`, { stdio: 'inherit' });
6
+ execSync(`git push origin v${version}`, { stdio: 'inherit' });