1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 16:58:26 -04:00

Minor package.json tweaks, update .travis.yml and dependencies (#31)

* Refactor package.json properties.

* Update Travis config.

* test node.js node 8 and remove 5 and 4.0
* cache the node_modules folder
* switch to double quotes

* Update dependencies.

* Add package-lock.json.

* Clean up .gitignore to the bare minimum.
This commit is contained in:
XhmikosR 2017-10-31 14:55:24 +02:00 committed by Shun Sato
parent 45dfa8b221
commit ee38042f8f
4 changed files with 3641 additions and 59 deletions

37
.gitignore vendored
View File

@ -1,36 +1,3 @@
# Logs /node_modules/
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directory
node_modules
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
# for binary install
/vendor/ /vendor/
/npm-debug.log

View File

@ -3,10 +3,9 @@ os:
- linux - linux
- osx - osx
node_js: node_js:
- '6' - "8"
- '5' - "6"
- '4' - "4"
- '4.0'
deploy: deploy:
provider: npm provider: npm
email: info@fenneclab.com email: info@fenneclab.com
@ -15,4 +14,7 @@ deploy:
on: on:
tags: true tags: true
os: linux os: linux
node: '6' node: "6"
cache:
directories:
- node_modules

3613
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,30 +3,35 @@
"version": "0.17.0", "version": "0.17.0",
"hugoVersion": "0.30.2", "hugoVersion": "0.30.2",
"description": "Binary wrapper for Hugo", "description": "Binary wrapper for Hugo",
"repository": "fenneclab/hugo-bin",
"author": "satoshun00 <shun.sato@fenneclab.com>",
"license": "MIT",
"main": "index.js", "main": "index.js",
"bin": {
"hugo": "cli.js"
},
"dependencies": {
"bin-wrapper": "3.0.2",
"del-cli": "1.1.0",
"logalot": "2.1.0"
},
"devDependencies": {
"bin-check": "4.1.0",
"eslint": "4.10.0",
"lodash": "4.17.4",
"mocha": "4.0.1"
},
"scripts": { "scripts": {
"test": "eslint . && mocha", "test": "eslint . && mocha",
"postinstall": "del-cli vendor && node lib/install" "postinstall": "del-cli vendor && node lib/install"
}, },
"repository": "fenneclab/hugo-bin",
"author": "satoshun00 <shun.sato@fenneclab.com>",
"license": "MIT",
"files": [ "files": [
"lib", "lib/",
"index.js", "index.js",
"cli.js" "cli.js"
], ],
"bin": {
"hugo": "cli.js"
},
"devDependencies": {
"bin-check": "4.0.1",
"eslint": "3.8.1",
"lodash": "4.16.4",
"mocha": "3.1.2"
},
"engines": { "engines": {
"node": ">=4.0.0" "node": ">=4"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "eslint:recommended", "extends": "eslint:recommended",
@ -37,10 +42,5 @@
"parserOptions": { "parserOptions": {
"sourceType": "module" "sourceType": "module"
} }
},
"dependencies": {
"bin-wrapper": "3.0.2",
"del-cli": "0.2.1",
"logalot": "2.1.0"
} }
} }