@npm_leadtech/legal-lib-components 0.3.37 → 0.3.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ const { Button } = './components/atoms/Button';
2
+
3
+ export { Button };
4
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../src/index.js"],"sourcesContent":["const { Button } = './components/atoms/Button';\nexport { Button };\n"],"names":[],"mappings":"AAAK,MAAC,EAAE,MAAM,EAAE,GAAG;;;;"}
package/build/index.js ADDED
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const { Button } = './components/atoms/Button';
6
+
7
+ exports.Button = Button;
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["const { Button } = './components/atoms/Button';\nexport { Button };\n"],"names":[],"mappings":";;;;AAAK,MAAC,EAAE,MAAM,EAAE,GAAG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "0.3.37",
3
+ "version": "0.3.39",
4
4
  "dependencies": {
5
5
  "react": "^17.0.1",
6
6
  "react-dom": "^17.0.1"
@@ -23,6 +23,9 @@
23
23
  "@babel/core": "^7.12.10",
24
24
  "@babel/preset-env": "^7.12.11",
25
25
  "@babel/preset-react": "^7.12.10",
26
+ "@rollup/plugin-commonjs": "^17.1.0",
27
+ "@rollup/plugin-node-resolve": "^11.1.1",
28
+ "@rollup/plugin-url": "^6.0.0",
26
29
  "@storybook/addon-actions": "^6.1.17",
27
30
  "@storybook/addon-essentials": "^6.1.17",
28
31
  "@storybook/addon-links": "^6.1.17",
@@ -49,15 +52,16 @@
49
52
  "prettier": "^2.2.1",
50
53
  "prop-types": "^15.7.2",
51
54
  "react-test-renderer": "^17.0.1",
55
+ "rollup": "^2.38.4",
56
+ "rollup-plugin-babel": "^4.4.0",
57
+ "rollup-plugin-peer-deps-external": "^2.2.4",
58
+ "rollup-plugin-postcss": "^4.0.0",
52
59
  "sass-loader": "^10.1.1",
53
- "style-loader": "^2.0.0",
54
- "webpack": "^5.21.2",
55
- "webpack-cli": "^4.5.0",
56
- "webpack-node-externals": "^2.5.2"
60
+ "style-loader": "^2.0.0"
57
61
  },
58
62
  "scripts": {
59
63
  "start": "start-storybook -p 6006",
60
- "build": "webpack --config webpack.config.js",
64
+ "build": "NODE_ENV=production rollup -c",
61
65
  "reinstall-force": "rm -f yarn.lock && rm -Rf node_modules && yarn",
62
66
  "upgrade-patch": "yarn build && yarn reinstall-force && git add . && git commit -m \"$MSG\" && npm config set tag-version-prefix '' && npm version patch -m \"$MSG\" && git push && git push --tags",
63
67
  "upgrade-minor": "yarn build && yarn reinstall-force && git add . && git commit -m \"$MSG\" && npm config set tag-version-prefix '' && npm version minor -m \"$MSG\" && git push && git push --tags",
@@ -70,8 +74,9 @@
70
74
  ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
71
75
  }
72
76
  },
77
+ "main": "build/index.js",
78
+ "module": "build/index.es.js",
73
79
  "files": [
74
- "dist"
75
- ],
76
- "main": "dist/index.js"
80
+ "build"
81
+ ]
77
82
  }
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- !function(e,t){for(var o in t)e[o]=t[o];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(exports,function(){"use strict";var e={579:function(e,t,o){o.r(t),o.d(t,{Button:function(){return r}});var r="./components/atoms/Button".Button}},t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}return o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(579)}());