From d4383c6ca24db6f42599261f9799b335dda983fa Mon Sep 17 00:00:00 2001 From: Will Binns-Smith Date: Wed, 7 Oct 2015 22:15:12 -0700 Subject: [PATCH 1/3] Add metadata and main field to package json --- package.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ccbe2a6..f692098 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,19 @@ { "name": "jquery-localize", - "version": "0.0.0-ignored", + "description": "A jQuery plugin that makes it easy to i18n your static web site.", + "version": "0.1.0", + "homepage": "https://github.com/coderifous/jquery-localize", + "license": "MIT", + "main": "dist/jquery.localize.js", + "author": { + "name": "coderifous", + "email": "jim@thegarvin.com" + }, + "repository": { + "type": "git", + "url": "https://github.com/coderifous/jquery-localize.git" + }, + "bugs": "https://github.com/coderifous/jquery-localize/issues", "engines": { "node": ">= 0.8.0" }, From 6ecc22067065452dbc198249dbc0331ffb44edc2 Mon Sep 17 00:00:00 2001 From: Will Binns-Smith Date: Mon, 12 Oct 2015 12:48:53 -0700 Subject: [PATCH 2/3] Add grunt as prepublish step --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f692098..ed66f42 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "node": ">= 0.8.0" }, "scripts": { + "prepublish": "grunt", "test": "grunt test" }, "devDependencies": { From a45ccb91d3448053229e6afe912c68367ee2812f Mon Sep 17 00:00:00 2001 From: Will Binns-Smith Date: Mon, 12 Oct 2015 12:52:16 -0700 Subject: [PATCH 3/3] Travis: Use node 4 and container infrastructure --- .travis.yml | 5 +++-- package.json | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index b7d3fc7..6ca3727 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ +sudo: false language: node_js node_js: - - "0.11" + - "4" before_script: - - npm install -g grunt-cli \ No newline at end of file + - npm install -g grunt-cli diff --git a/package.json b/package.json index ed66f42..7dfa06c 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,12 @@ "test": "grunt test" }, "devDependencies": { - "grunt-contrib-qunit": "~0.2.0", - "grunt-contrib-uglify": "~0.2.0", - "grunt-contrib-clean": "~0.4.0", "grunt": "~0.4.2", + "grunt-cli": "^0.1.13", + "grunt-contrib-clean": "~0.4.0", "grunt-contrib-coffee": "~0.10.0", - "grunt-contrib-connect": "~0.6.0" + "grunt-contrib-connect": "~0.6.0", + "grunt-contrib-qunit": "~0.2.0", + "grunt-contrib-uglify": "~0.2.0" } }