diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-08-23 08:20:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-23 08:20:14 +0800 |
commit | b013cf2e145825a9e250c61bc77825384b2af69e (patch) | |
tree | 5bc5562d96352462874474c90c62d708e3f77eef /package.json | |
parent | cb19623a3aaf22a386bd4a7d6477048a604be9a2 (diff) | |
parent | 3e56990db7673987ffddb80ff3bccab1c99712aa (diff) | |
download | dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar.gz dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar.bz2 dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar.lz dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar.xz dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.tar.zst dexon-sol-tools-b013cf2e145825a9e250c61bc77825384b2af69e.zip |
Merge pull request #1001 from 0xProject/fix/npm-login-with-package
fix: Make non-interactive npm login for publish tests more robust
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index fa93108c2..15961229e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test:installation": "node ./packages/monorepo-scripts/lib/test_installation.js", "test:installation:local": "IS_LOCAL_PUBLISH=true node ./packages/monorepo-scripts/lib/test_installation.js", "test:publish:circleci:comment": "HACK(albrow) We need an automated way to login to npm and echo+sleep piped to stdin was the only way I could find to do it.", - "test:publish:circleci": "{ echo \"test\"; sleep 2; echo \"test\"; sleep 2; echo \"test@example.com\"; } | npm login --registry=http://localhost:4873 && IS_LOCAL_PUBLISH=true run-s script:publish test:installation:local", + "test:publish:circleci": "yarn npm-cli-login -u test -p test -e test@example.com -r http://localhost:4873 && IS_LOCAL_PUBLISH=true run-s script:publish test:installation:local", "run:publish": "run-s install:all build:monorepo_scripts script:prepublish_checks rebuild:no_website script:publish", "run:publish:local": "IS_LOCAL_PUBLISH=true yarn run:publish", "script:prepublish_checks": "node ./packages/monorepo-scripts/lib/prepublish_checks.js", @@ -45,6 +45,7 @@ "coveralls": "^3.0.0", "ganache-cli": "6.1.3", "lcov-result-merger": "^3.0.0", + "npm-cli-login": "^0.0.10", "npm-run-all": "^4.1.2", "prettier": "^1.11.1", "source-map-support": "^0.5.6", |