Last active
December 6, 2019 14:29
-
-
Save dominykas/eb8fcd584f3984ce7096a50b9a77c1bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package-lock=true | |
shrinkwrap=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-one", | |
"private": true, | |
"version": "1.0.0", | |
"dependencies": { | |
"@hapi/hapi": "npm:@commercial/hapi@^18.4.0" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-two", | |
"private": true, | |
"version": "1.0.0", | |
"dependencies": { | |
"@hapi/hapi": "npm:@commercial/hapi@^18.4.0" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "tmp", | |
"private": true, | |
"version": "1.0.0", | |
"scripts": { | |
"clean": "rm -rf *.tar one two", | |
"preinstall": "npm run clean && mkdir -p one && cp package-one.json one/package.json && mkdir -p two && cp package-two.json two/package.json && tar cf one.tar one && tar cf two.tar two" | |
}, | |
"dependencies": { | |
"test-one": "file:one.tar", | |
"test-two": "file:two.tar" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment