|
@@ -9,13 +9,18 @@
|
|
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
|
"preview": "vite preview",
|
|
|
"storybook": "storybook dev -p 6006",
|
|
|
- "build-storybook": "storybook build"
|
|
|
+ "build-storybook": "storybook build",
|
|
|
+ "build-library": "rollup -c"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"react": "^18.2.0",
|
|
|
"react-dom": "^18.2.0"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
+ "@babel/core": "^7.21.8",
|
|
|
+ "@babel/preset-env": "^7.21.5",
|
|
|
+ "@babel/preset-react": "^7.18.6",
|
|
|
+ "@rollup/plugin-babel": "^6.0.3",
|
|
|
"@storybook/addon-essentials": "^7.0.15",
|
|
|
"@storybook/addon-interactions": "^7.0.15",
|
|
|
"@storybook/addon-links": "^7.0.15",
|
|
@@ -33,6 +38,16 @@
|
|
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
|
"eslint-plugin-storybook": "^0.6.12",
|
|
|
"prop-types": "^15.8.1",
|
|
|
+ "rollup": "^3.23.0",
|
|
|
+ "rollup-plugin-babel": "^4.4.0",
|
|
|
+ "rollup-plugin-commonjs": "^10.1.0",
|
|
|
+ "rollup-plugin-node-resolve": "^5.2.0",
|
|
|
+ "rollup-plugin-peer-deps-external": "^2.2.4",
|
|
|
+ "rollup-plugin-postcss": "^4.0.2",
|
|
|
+ "rollup-plugin-sass": "^1.12.19",
|
|
|
+ "rollup-plugin-terser": "^7.0.2",
|
|
|
+ "rollup-plugin-typescript2": "^0.34.1",
|
|
|
+ "rollup-plugin-uglify": "^6.0.4",
|
|
|
"storybook": "^7.0.15",
|
|
|
"typescript": "^5.0.2",
|
|
|
"vite": "^4.3.2"
|