Correct package.json "engines" entry

This commit is contained in:
Jeremy Ruston 2013-01-28 19:26:26 +00:00
parent ea715bd3f2
commit 07541cbd9f
2 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ if(!$tw.browser) {
// Read package info
$tw.packageInfo = JSON.parse(fs.readFileSync($tw.boot.bootPath + "/../package.json"));
// Check node version number
if($tw.utils.checkVersions($tw.packageInfo.engine.node.substr(2),process.version.substr(1))) {
if($tw.utils.checkVersions($tw.packageInfo.engines.node.substr(2),process.version.substr(1))) {
throw "TiddlyWiki5 requires node.js version " + $tw.packageInfo.engine.node;
}
}

View File

@ -31,7 +31,7 @@
"bundleDependencies": [
],
"license": "BSD",
"engine": {
"engines": {
"node": ">=0.8.2"
}
}