mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Correct package.json "engines" entry
This commit is contained in:
parent
ea715bd3f2
commit
07541cbd9f
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@
|
||||
"bundleDependencies": [
|
||||
],
|
||||
"license": "BSD",
|
||||
"engine": {
|
||||
"engines": {
|
||||
"node": ">=0.8.2"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user