add devDependencies to package.json for tests;
fix only full path for `dirrectory` option, it can be a local path string too.