I am trying to write a local npm module in ES6, i'm using babel, npm... I have no error when i'm running npm install, but when i'm trying to call the module i have this error :
Cannot find module './lib/daihinmin'
I have tried almost everything in my require :
var daihinmin=require('./lib/daihinmin');
var daihinmin=require('daihinmin');
var daihinmin=require('daihinmin.js');
None of this works and i don't see why :(
This is my module package.json :
{
  "name": "daihinmin",
  "main": "./lib/daihimin.js",
  "scripts": {
    "compile": "babel --presets es2015 -d lib/ src/",
    "prepublish": "npm run compile"
  },
  "devDependencies": {
    "babel-cli": "^6.5.1",
    "babel-preset-es2015": "^6.5.0"
  }
}
And this is my app package.json :
{
  "name": "MrPresident",
  "main": "app.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "dependencies": {
    "express": "^4.13.3",
    "daihinmin": "./lib/daihinmin"
  }
}
screenshot of my application tree
Thanks for your help :-)