From 0c0a4011f7357ac2287ffdaa8a3c147a72cede3f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 8 Mar 2021 14:21:23 +0100 Subject: [PATCH] move libraries used to transpile dependencies on post-install to runtime deps so when using hydrogen as a dependency in another project through yarn or npm, the installation won't fail because the post-install script can't find its dependencies --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 593d60e2..bddff984 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,7 @@ "@babel/core": "^7.11.1", "@babel/preset-env": "^7.11.0", "@rollup/plugin-babel": "^5.1.0", - "@rollup/plugin-commonjs": "^15.0.0", "@rollup/plugin-multi-entry": "^4.0.0", - "@rollup/plugin-node-resolve": "^9.0.0", "autoprefixer": "^10.0.1", "cheerio": "^1.0.0-rc.3", "commander": "^6.0.0", @@ -42,12 +40,14 @@ "postcss-import": "^12.0.1", "postcss-url": "^8.0.0", "regenerator-runtime": "^0.13.7", - "rollup": "^2.26.4", "rollup-plugin-cleanup": "^3.1.1", "serve-static": "^1.13.2", "xxhashjs": "^0.2.2" }, "dependencies": { + "rollup": "^2.26.4", + "@rollup/plugin-commonjs": "^15.0.0", + "@rollup/plugin-node-resolve": "^9.0.0", "aes-js": "^3.1.2", "another-json": "^0.2.0", "base64-arraybuffer": "^0.2.0",