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`