diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..2ede226 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "eslint-config-unstyled" +} \ No newline at end of file diff --git a/package.json b/package.json index 23d5262..56af353 100644 --- a/package.json +++ b/package.json @@ -1,35 +1,44 @@ { - "name": "mbtiles", - "version": "0.8.2", - "description": "Utilities and tilelive integration for the MBTiles format.", - "url": "http://github.com/mapbox/node-mbtiles", - "author": "Mapbox (https://www.mapbox.com)", - "keywords": ["map", "mbtiles"], - "licenses": [{ "type": "BSD" }], - "main": "./lib/mbtiles", - "repository": { - "type": "git", - "url": "http://github.com/mapbox/node-mbtiles.git" - }, - "contributors": [ - "Tom MacWright ", - "Will White ", - "Dane Springmeyer ", - "Young Hahn ", - "Konstantin Käfer " - ], - "dependencies": { - "tiletype": "0.1.x", - "sqlite3": "3.x", - "sphericalmercator": "~1.0.1" - }, - "devDependencies": { - "tape": "~3.0.0" - }, - "engines": { - "node": ">= 0.10.0" - }, - "scripts": { - "test": "tape test/*.js" + "name": "mbtiles", + "version": "0.8.2", + "description": "Utilities and tilelive integration for the MBTiles format.", + "url": "http://github.com/mapbox/node-mbtiles", + "author": "Mapbox (https://www.mapbox.com)", + "keywords": [ + "map", + "mbtiles" + ], + "licenses": [ + { + "type": "BSD" } -} + ], + "main": "./lib/mbtiles", + "repository": { + "type": "git", + "url": "http://github.com/mapbox/node-mbtiles.git" + }, + "contributors": [ + "Tom MacWright ", + "Will White ", + "Dane Springmeyer ", + "Young Hahn ", + "Konstantin Käfer " + ], + "dependencies": { + "tiletype": "0.1.x", + "sqlite3": "3.x", + "sphericalmercator": "~1.0.1" + }, + "devDependencies": { + "tape": "~3.0.0", + "eslint": "~1.00.0", + "eslint-config-unstyled": "^1.1.0" + }, + "engines": { + "node": ">= 0.10.0" + }, + "scripts": { + "test": "eslint lib && tape test/*.js" + } +} \ No newline at end of file