@luminati-io/uikit 3.0.0 → 3.0.2-beta.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "name": "@luminati-io/uikit",
3
- "version": "3.0.0",
3
+ "version": "3.0.2-beta.0",
4
4
  "author": "Bright Data (http://brightdata.com)",
5
5
  "license": "ISC",
6
6
  "description": "brightdata's design system",
7
- "main": "./dist/umd/uikit.production.min.js",
7
+ "main": "dist/cjs/index.js",
8
+ "module": "dist/esm/index.js",
9
+ "jsnext:main": "dist/esm/index.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/esm/index.js",
13
+ "require": "./dist/cjs/index.js",
14
+ "default": "./dist/cjs/index.js"
15
+ },
16
+ "./package.json": "./package.json"
17
+ },
8
18
  "files": [
9
19
  "dist"
10
20
  ],
@@ -39,6 +49,10 @@
39
49
  "@babel/preset-env": "7.20.2",
40
50
  "@babel/preset-react": "7.18.6",
41
51
  "@react-spring/web": "^9.7.2",
52
+ "@rollup/plugin-alias": "^5.0.0",
53
+ "@rollup/plugin-babel": "^6.0.3",
54
+ "@rollup/plugin-commonjs": "^25.0.3",
55
+ "@rollup/plugin-node-resolve": "^15.1.0",
42
56
  "@storybook/addon-a11y": "^6.5.16",
43
57
  "@storybook/addon-actions": "^6.5.16",
44
58
  "@storybook/addon-essentials": "^6.5.16",
@@ -68,7 +82,10 @@
68
82
  "react-dom": "^16.9.0",
69
83
  "react-table": "^7.8.0",
70
84
  "react-virtualized": "^9.22.5",
71
- "styled-components": "^5.3.11",
85
+ "rollup": "^3.28.0",
86
+ "rollup-plugin-peer-deps-external": "^2.2.4",
87
+ "rollup-plugin-svg-sprites": "^1.2.5",
88
+ "styled-components": "^6.0.7",
72
89
  "svg-sprite-loader": "^6.0.11",
73
90
  "svgo": "^3.0.2",
74
91
  "webpack": "^5.88.2",
@@ -79,9 +96,9 @@
79
96
  "storybook": "start-storybook -p 6006 -c storybook_config",
80
97
  "build-storybook": "build-storybook -c storybook_config",
81
98
  "test": "test-storybook --verbose -c storybook_config",
82
- "build-development": "webpack --config webpack.dev.js",
83
- "build-production": "webpack --mode=production",
84
- "build": "rm -rf dist&&npm run build-development&&npm run build-production",
99
+ "build-rollup": "rollup -c",
100
+ "build-webpack": "webpack",
101
+ "build": "rm -rf dist&&npm run build-rollup&&npm run build-webpack",
85
102
  "prepublishOnly": "npm run build",
86
103
  "minify-svg": "svgo -i ./assets/icons --final-newline",
87
104
  "dry-publish": "npm publish --access public --dry-run",