Update regex and package.json path

* Use /// to allow interpolation in regex
* The package.json file is actually one directory up as the __dirname includes
  `src`
Merge pull request #5 from tombell/fixes

Update regex and package.json path