Browse Source

Add snazzy (standard) for linting

pull/14/head
Luke Childs 8 years ago
parent
commit
6f3e99c9ec
  1. 6
      package.json

6
package.json

@ -4,7 +4,8 @@
"description": "Node client for the Onionoo Tor API", "description": "Node client for the Onionoo Tor API",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"lint": "snazzy"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -26,5 +27,8 @@
"dependencies": { "dependencies": {
"cache-manager": "^2.2.0", "cache-manager": "^2.2.0",
"got": "^6.3.0" "got": "^6.3.0"
},
"devDependencies": {
"snazzy": "^5.0.0"
} }
} }

Loading…
Cancel
Save