{
  "name": "creditcard",
  "version": "0.0.2",
  "description": "Creditcard number parsing, validation and information extraction",
  "main": "lib/index.js",
  "scripts": {
    "test": "./node_modules/.bin/mocha $(shell find test -name '*.test.js')"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:observing/creditcard.git"
  },
  "keywords": [
    "IEC",
    "ISO/IEC 7812",
    "bic",
    "card",
    "card",
    "credit",
    "credit-card",
    "creditcard",
    "extraction",
    "iin",
    "iso",
    "mii",
    "parsing",
    "validation"
  ],
  "devDependencies": {
    "chai": "1.4.0",
    "mocha": "1.7.3",
    "dox": "0.4.1",
    "ejs": "0.8.3"
  },
  "author": "Arnout Kazemier",
  "license": "MIT"
}

{
  "name": "creditcard",
  "version": "0.0.2",
  "description": "Creditcard number parsing, validation and information extraction",
  "main": "lib/creditcard.js",
  "scripts": {
    "test": "./node_modules/.bin/mocha $(shell find test -name '*.test.js')"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:observing/creditcard.git"
  },
  "keywords": [
    "IEC",
    "ISO/IEC 7812",
    "bic",
    "card",
    "card",
    "credit",
    "credit-card",
    "creditcard",
    "extraction",
    "iin",
    "iso",
    "mii",
    "parsing",
    "validation"
  ],
  "devDependencies": {
    "chai": "1.4.0",
    "mocha": "1.7.3",
    "dox": "0.4.1",
    "ejs": "0.8.3"
  },
  "author": "Arnout Kazemier",
  "license": "MIT"
}

Change the "main" path to actual main file.
Change the "main" path to actual main file.

lib/index.js doesn't exist. Main should be requiring lib/creditcard.js instead.