1
0
Fork 0

🔧 Reconfigure packages

This commit is contained in:
Joost De Cock 2019-05-31 18:20:29 +02:00
parent 38bb833fd2
commit 87b097e9d8
97 changed files with 1113 additions and 882 deletions

View file

@ -23,9 +23,8 @@
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
"start": "rollup -c -w"
},
"peerDependencies": {},
"dependencies": {
"@freesewing/i18n": "^2.0.0-beta.14",
"@freesewing/pattern-info": "^2.0.0-beta.14",
"chalk": "^2.4.2",
"commander": "^2.19.0",
"conf": "^2.2.0",
@ -41,8 +40,11 @@
"p-each-series": "^1.0.0",
"parse-git-config": "^3.0.0",
"validate-npm-package-name": "^3.0.0",
"which": "^1.3.1"
"which": "^1.3.1",
"@freesewing/i18n": "^2.0.0-beta.14",
"@freesewing/pattern-info": "^2.0.0-beta.14"
},
"devDependencies": {},
"files": [
"lib",
"template",

View file

@ -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 }),