Minor package.json tweaks (#68)

* Add a few script aliases.

* Be more explicit with the lib files included.

* Switch to the caret operator for deps and update them.

We have a package-lock.json file to ensure the deps are what we want.
This commit is contained in:
XhmikosR
2018-10-07 17:42:45 +09:00
committed by Shun Sato
parent 1cbcc2cb4a
commit 91ae0484c8
2 changed files with 640 additions and 750 deletions
+628 -740
View File
File diff suppressed because it is too large Load Diff
+12 -10
View File
@@ -11,23 +11,25 @@
"hugo": "cli.js"
},
"dependencies": {
"bin-wrapper": "4.0.0",
"del-cli": "1.1.0",
"logalot": "2.1.0",
"pkg-conf": "2.1.0"
"bin-wrapper": "^4.0.0",
"del-cli": "^1.1.0",
"logalot": "^2.1.0",
"pkg-conf": "^2.1.0"
},
"devDependencies": {
"bin-check": "4.1.0",
"eslint": "5.1.0",
"lodash": "4.17.10",
"mocha": "5.2.0"
"bin-check": "^4.1.0",
"eslint": "^5.6.1",
"lodash": "^4.17.11",
"mocha": "^5.2.0"
},
"scripts": {
"test": "eslint . && mocha",
"eslint": "eslint .",
"mocha": "mocha",
"test": "npm run eslint && npm run mocha",
"postinstall": "del-cli vendor && node lib/install"
},
"files": [
"lib/",
"lib/*.js",
"index.js",
"cli.js"
],