How I can pass opts/flags which I pass to npm install command to postinstall scripts?
I write npm install X --some-param=some-value command. X package has postinstall script: ./scripts/postinstall.js. How I can pass some-param to postinstall script?
I try process.argv but it does not contain anything which I use as npm install params.