aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-31 23:49:14 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-31 23:49:14 +0800
commit75664b66512fb32539626a42973d293ecad17584 (patch)
tree6711415bd4885e8d15778beac87decde2a21680a /package.json
parent327b4ba5546907f3c2b6fddd2a4d3d767d1f6767 (diff)
downloaddexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar.gz
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar.bz2
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar.lz
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar.xz
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.tar.zst
dexon-sol-tools-75664b66512fb32539626a42973d293ecad17584.zip
make postinstall symlink hack cross platform
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index a166dd2ab..e8a56401a 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i --shouldUpload false --isStaging true || break -1; done;",
"lint": "wsrun lint $PKG --fast-exit --parallel --exclude-missing",
"comment:postinstall": "HACK: For some reason `yarn` is not setting up symlink properly for types. We temporarily make it manually. Remove this ASAP!",
- "postinstall": "mv node_modules/@0xproject/types node_modules/@0xproject/types-0.8.1; for i in website sra-report; do cp -R node_modules/@0xproject/types-0.8.1 packages/$i/node_modules/@0xproject/types; done; ln -s ../../packages/types node_modules/@0xproject/types"
+ "postinstall": "shx cp -R node_modules/@0xproject/types packages/website/node_modules/@0xproject; shx cp -R node_modules/@0xproject/types packages/sra-report/node_modules/@0xproject; rimraf node_modules/@0xproject/types; shx ln -s ../../packages/types node_modules/@0xproject/types"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic",