Skip to content

Instantly share code, notes, and snippets.

@dominykas
Last active December 6, 2019 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominykas/eb8fcd584f3984ce7096a50b9a77c1bc to your computer and use it in GitHub Desktop.
Save dominykas/eb8fcd584f3984ce7096a50b9a77c1bc to your computer and use it in GitHub Desktop.
package-lock=true
shrinkwrap=true
{
"name": "test-one",
"private": true,
"version": "1.0.0",
"dependencies": {
"@hapi/hapi": "npm:@commercial/hapi@^18.4.0"
}
}
{
"name": "test-two",
"private": true,
"version": "1.0.0",
"dependencies": {
"@hapi/hapi": "npm:@commercial/hapi@^18.4.0"
}
}
{
"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