Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fixed #200: add "engines" field to package.json to indicate node version
Browse files Browse the repository at this point in the history
Noted, this field can't avoid user to install it with wrong version of node,
so it just indicates what version of node we should use.

reference: http://www.marcusoft.net/2015/03/packagejson-and-engines-and-enginestrict.html
  • Loading branch information
yurenju committed Jan 21, 2016
1 parent 2cba413 commit a261ef6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,9 @@
},
"pre-commit": [
"lint"
]
],
"engineStrict": true,
"engines": {
"node": ">= 5.0.0"
}
}

0 comments on commit a261ef6

Please sign in to comment.