How to set NODE_PATH=. for node.js app hosted in openshift
<p>I use custom node.js cartridge on openshift 
<a href="https://github.com/icflorescu/openshift-cartridge-nodejs" rel="nofollow">icflorescu/openshift-cartridge-nodejs</a> .</p>

<p>How can i set NODE_PATH=. for app start in package.json ? Should i provide it in package.json like that :    <code>"start": "NODE_PATH=. NODE_ENV=production node app.js"</code> ,
either i should use something like here 
<a href="https://github.com/Dindaleon/hapi-react-starter-kit/blob/master/package.json" rel="nofollow">Dindaleon/hapi-react-starter-kit</a>    - some npm package like <code>cross-env</code> </p>

<p>I have line in main app.js file. There is folder named 'config', in the same directory with app.js, in folder config placed file index.js, file index.js have code with  'module.exports = Object.assign({ ...some conifg object... });' . When i delete NODE_PATH=.  , node throws "Error: Cannot find module 'config' " . </p>

<pre><code>var config = require('config');
</code></pre>