Skip to content

Instantly share code, notes, and snippets.

@jamo
Created August 7, 2019 08:26
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 jamo/27edc1f235882ae8d28e37184ee3ed92 to your computer and use it in GitHub Desktop.
Save jamo/27edc1f235882ae8d28e37184ee3ed92 to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
console.log(`my demo postinstall index is here`);
{
"name": "my-demo-postinstall-plugin",
"version": "1.0.0",
"description": "",
"main": "index.js",
"bin": {
"my-demo-postinstall-plugin": "index.js"
},
"files": ["index.js", "postinstall.js"],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node postinstall.js"
},
"keywords": [],
"author": "Jarmo Isotalo <jarmo@isotalo.fi>",
"license": "MIT"
}
#!/usr/bin/env node
console.log(`my demo postinstall script is here`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment