UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

10 lines (8 loc) 276 B
const packageConfig = require(__dirname + '/../../package.json'); const fullVersion = packageConfig.version; module.exports = { full: fullVersion, major: fullVersion.split('.')[0], minor: fullVersion.split('.')[1], patch: fullVersion.split('.').slice(2).join('.') };