1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
OpenSTF/lib/util/pathutil.js

21 lines
475 B
JavaScript

var path = require('path')
// Export
module.exports.root = function(target) {
return path.resolve(__dirname, '../..', target)
}
// Export
module.exports.resource = function(target) {
return path.resolve(__dirname, '../../res', target)
}
// Export
module.exports.vendor = function(target) {
return path.resolve(__dirname, '../../vendor', target)
}
// Export
module.exports.module = function(target) {
return path.resolve(__dirname, '../../node_modules', target)
}