⬆️ adding dependency check for node >=4.5

This commit is contained in:
Michael Straßburger 2017-04-26 18:22:07 +02:00
parent 3706ec75b6
commit 345d1d51c7
3 changed files with 13 additions and 2 deletions

8
.npmignore Normal file
View File

@ -0,0 +1,8 @@
node_modules
bundle*
*.log
tmp
mbtiles
tiles
.DS_Store
docs

View File

@ -18,7 +18,7 @@ A node.js based [Vector Tile](http://wiki.openstreetmap.org/wiki/Vector_tiles) t
## How to install ## How to install
If you haven't already got Node.js >= version 4, then [go get it](http://nodejs.org/). If you haven't already got Node.js >= version 4.5, then [go get it](http://nodejs.org/).
``` ```
npm install -g mapscii npm install -g mapscii

View File

@ -1,6 +1,6 @@
{ {
"name": "mapscii", "name": "mapscii",
"version": "0.1.0", "version": "0.1.2",
"description": "Terminal Map Viewer", "description": "Terminal Map Viewer",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
@ -14,6 +14,9 @@
"bin": { "bin": {
"mapscii": "./bin/mapscii.sh" "mapscii": "./bin/mapscii.sh"
}, },
"engines" : {
"node" : ">=4.5.0"
},
"keywords": [ "keywords": [
"map", "map",
"console", "console",