🔧 Reconfigure packages
This commit is contained in:
parent
38bb833fd2
commit
87b097e9d8
97 changed files with 1113 additions and 882 deletions
|
@ -33,11 +33,18 @@
|
|||
"netlify": "echo \"Not configured yet\""
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@freesewing/core": "^2.0.0-beta.13",
|
||||
"@freesewing/plugin-bundle": "^2.0.0-beta.13"
|
||||
"@freesewing/core": "^2.0.0-beta.14",
|
||||
"@freesewing/plugin-bundle": "^2.0.0-beta.14"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"react": "^16.8",
|
||||
"react-dom": "^16.8",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||
"babel-eslint": "10.0.1",
|
||||
"eslint": "^5.16.0",
|
||||
"babel-jest": "24.7.1",
|
||||
"jest": "24.7.1",
|
||||
"@freesewing/components": "^2.0.0-beta.14",
|
||||
"@freesewing/css-theme": "^2.0.0-beta.14",
|
||||
"@freesewing/i18n": "^2.0.0-beta.14",
|
||||
|
@ -47,21 +54,11 @@
|
|||
"@freesewing/plugin-buttons": "^2.0.0-beta.14",
|
||||
"@freesewing/plugin-flip": "^2.0.0-beta.14",
|
||||
"@freesewing/utils": "^2.0.0-beta.14",
|
||||
"@material-ui/core": "4.0.1",
|
||||
"@material-ui/icons": "4.0.1",
|
||||
"@material-ui/lab": "^v4.0.0-alpha.14",
|
||||
"@svgr/rollup": "^2.4.1",
|
||||
"babel-eslint": "10.0.1",
|
||||
"babel-jest": "24.7.1",
|
||||
"cross-env": "^5.1.4",
|
||||
"eslint": "^5.16.0",
|
||||
"gh-pages": "^1.2.0",
|
||||
"jest": "24.7.1",
|
||||
"prop-types": "15.7.2",
|
||||
"react": "^16.8",
|
||||
"react-dom": "^16.8",
|
||||
"react-intl": "2.8.0",
|
||||
"react-scripts": "^3.0.0",
|
||||
"webpack": "4.29.6",
|
||||
"rollup": "^0.64.1",
|
||||
"rollup-plugin-babel": "^4.0.1",
|
||||
"rollup-plugin-babel-minify": "^7.0.0",
|
||||
|
@ -71,7 +68,11 @@
|
|||
"rollup-plugin-peer-deps-external": "^2.2.0",
|
||||
"rollup-plugin-postcss": "^1.6.2",
|
||||
"rollup-plugin-url": "^1.4.0",
|
||||
"webpack": "4.29.6"
|
||||
"@material-ui/core": "4.0.1",
|
||||
"@material-ui/icons": "4.0.1",
|
||||
"@material-ui/lab": "^v4.0.0-alpha.14",
|
||||
"react-intl": "2.8.0",
|
||||
"prop-types": "15.7.2"
|
||||
},
|
||||
"files": [
|
||||
"dist/*",
|
||||
|
|
|
@ -18,20 +18,23 @@ import {
|
|||
module
|
||||
} from "./package.json";
|
||||
|
||||
const output = [
|
||||
{
|
||||
file: main,
|
||||
format: "cjs",
|
||||
sourcemap: true
|
||||
}
|
||||
];
|
||||
if (typeof module !== "undefined")
|
||||
output.push({
|
||||
file: module,
|
||||
format: "es",
|
||||
sourcemap: true
|
||||
});
|
||||
|
||||
export default {
|
||||
input: "src/index.js",
|
||||
output: [
|
||||
{
|
||||
file: main,
|
||||
format: "cjs",
|
||||
sourcemap: true
|
||||
},
|
||||
{
|
||||
file: module,
|
||||
format: "es",
|
||||
sourcemap: true
|
||||
}
|
||||
],
|
||||
output,
|
||||
plugins: [
|
||||
peerDepsExternal(),
|
||||
resolve({ modulesOnly: true }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue