Skip to content

Instantly share code, notes, and snippets.

@ayan4m1
Last active November 3, 2018 23:19
Show Gist options
  • Save ayan4m1/e8261cb6a33a1436f8b9d0f4e68e8753 to your computer and use it in GitHub Desktop.
Save ayan4m1/e8261cb6a33a1436f8b9d0f4e68e8753 to your computer and use it in GitHub Desktop.
Sample package.json files for install-peers
{
"name": "install-peers-test",
"version": "0.1.0",
"description": "",
"main": "index.js",
"author": "ayan4m1 <[email protected]>",
"license": "MIT",
"dependencies": {
"react": "^16.6.0"
},
"devDependencies": {
"install-peers": "[email protected]:ayan4m1/install-peers.git#b8e44992"
},
"peerDependencies": {
"react-dom": "^16.6.0"
}
}
{
"name": "install-peers-test",
"version": "0.1.0",
"description": "",
"main": "index.js",
"author": "ayan4m1 <[email protected]>",
"license": "MIT",
"dependencies": {
"react": "^16.6.0"
},
"devDependencies": {
"install-peers": "file:../install-peers"
},
"peerDependencies": {
"react-dom": "^16.6.0"
}
}
{
"name": "install-peers-test",
"version": "0.1.0",
"description": "",
"main": "index.js",
"author": "ayan4m1 <[email protected]>",
"license": "MIT",
"dependencies": {
"react": "^16.6.0"
},
"devDependencies": {
"install-peers": "1.0.2"
},
"peerDependencies": {
"react-dom": "^16.6.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment