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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/.eslintrc.js +3 -7
  2. package/README.md +61 -1
  3. package/bin/cli.js +67 -21
  4. package/lib/common/splitChunks.js +63 -10
  5. package/lib/configs/jest.config.js +12 -3
  6. package/lib/configs/libAlias.js +31 -0
  7. package/lib/configs/webpack.dev.config.js +6 -19
  8. package/lib/configs/webpack.prod.config.js +18 -21
  9. package/lib/schemas/index.js +12 -0
  10. package/lib/utils/getCurrentBranch.js +1 -1
  11. package/lib/utils/getOptions.js +55 -1
  12. package/lib/utils/jsonHelper.js +11 -2
  13. package/package.json +6 -7
  14. package/node_modules0/history/CHANGES.md +0 -395
  15. package/node_modules0/history/DOMUtils.js +0 -3
  16. package/node_modules0/history/ExecutionEnvironment.js +0 -3
  17. package/node_modules0/history/LICENSE +0 -21
  18. package/node_modules0/history/LocationUtils.js +0 -3
  19. package/node_modules0/history/PathUtils.js +0 -3
  20. package/node_modules0/history/README.md +0 -282
  21. package/node_modules0/history/cjs/history.js +0 -933
  22. package/node_modules0/history/cjs/history.min.js +0 -1
  23. package/node_modules0/history/createBrowserHistory.js +0 -3
  24. package/node_modules0/history/createHashHistory.js +0 -3
  25. package/node_modules0/history/createMemoryHistory.js +0 -3
  26. package/node_modules0/history/createTransitionManager.js +0 -3
  27. package/node_modules0/history/es/DOMUtils.js +0 -7
  28. package/node_modules0/history/es/ExecutionEnvironment.js +0 -7
  29. package/node_modules0/history/es/LocationUtils.js +0 -7
  30. package/node_modules0/history/es/PathUtils.js +0 -7
  31. package/node_modules0/history/es/createBrowserHistory.js +0 -7
  32. package/node_modules0/history/es/createHashHistory.js +0 -7
  33. package/node_modules0/history/es/createMemoryHistory.js +0 -7
  34. package/node_modules0/history/es/createTransitionManager.js +0 -7
  35. package/node_modules0/history/es/warnAboutDeprecatedESMImport.js +0 -35
  36. package/node_modules0/history/esm/history.js +0 -904
  37. package/node_modules0/history/index.js +0 -7
  38. package/node_modules0/history/package.json +0 -120
  39. package/node_modules0/history/umd/history.js +0 -1059
  40. package/node_modules0/history/umd/history.min.js +0 -1
  41. package/node_modules0/history/warnAboutDeprecatedCJSRequire.js +0 -35
@@ -1,7 +0,0 @@
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
- }
@@ -1,120 +0,0 @@
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
- }