misc tweaks

This commit is contained in:
silverwind 2018-03-03 20:43:13 +01:00
parent d5ae58d651
commit 69761a237a
Signed by: silverwind
GPG Key ID: 2E62B41C93869443
2 changed files with 7 additions and 10 deletions

@ -1,8 +1,7 @@
lint:
eslint --color --quiet *.js
BIN:=node_modules/.bin
test:
$(MAKE) lint
$(BIN)/eslint --color --quiet *.js
publish:
git push -u --tags origin master
@ -26,4 +25,4 @@ patch: lint test npm-patch publish
minor: lint test npm-minor publish
major: lint test npm-major publish
.PHONY: lint touch update patch minor major npm-patch npm-minor npm-major
.PHONY: test publish patch minor major npm-patch npm-minor npm-major

@ -7,9 +7,7 @@
"license": "BSD-2-Clause",
"main": "updates.js",
"preferGlobal": true,
"bin": {
"updates": "updates.js"
},
"bin": "./updates.js",
"engines": {
"node": ">=6"
},
@ -26,9 +24,6 @@
"files": [
"updates.js"
],
"devDependencies": {
"eslint": "^4.18.2"
},
"dependencies": {
"chalk": "2.3.2",
"columnify": "^1.5.4",
@ -37,5 +32,8 @@
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"semver": "^5.5.0"
},
"devDependencies": {
"eslint": "^4.18.2"
}
}