From bdfd8d829be73af548dad1be356649a6142a6218 Mon Sep 17 00:00:00 2001 From: Nick Freear Date: Sun, 3 Jun 2018 00:04:18 +0100 Subject: [PATCH] Bug #4, Fix `browser` & `respository` fields in package JSON [ci skip] * Add `files`, bugs, engines & contributors fields to package JSON; * Remove Nick's email address from README & bower JSON; * Validator ~ http://package-json-validator.com/ --- README.md | 4 ++-- bower.json | 3 ++- package.json | 16 ++++++++++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 170613a..ff92c73 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,8 @@ For example: Alessandro Benoit #### Contributors -[Bernhard Behrendt](mailto:bernhard.behrendt@aoe.com) [@AOEpeople](https://github.com/AOEpeople) -[Nick Freear](mailto:nfreear@yahoo.co.uk) [IET at the OU](https://github.com/IET-OU) +[Bernhard Behrendt](mailto:bernhard.behrendt@aoe.com) [@AOEpeople](https://github.com/AOEpeople), +[Nick Freear](https://github.com/nfreear) [IET at the OU](https://github.com/IET-OU) ### License diff --git a/bower.json b/bower.json index 6742784..2b8155e 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,7 @@ "authors": [ "Alessandro Benoit ", "Bernhard Behrendt ", - "Nick Freear" + "Nick Freear" ], "description": "A very simple script to easily add the European Cookie Law disclaimer to any website.", "keywords": [ @@ -22,6 +22,7 @@ ".gitignore", ".gitattributes", ".editorconfig", + ".travis.yml", "index.html", "node_modules", "bower_components", diff --git a/package.json b/package.json index e7c79d2..44c2c8f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.1.11", "description": "Show a widely configurable notice for European cookie law", "main": "gruntfile.js", - "browser": "dist/cookie-notice.js", + "browser": "dist/cookie.notice.js", "scripts": { "test": "grunt" }, @@ -15,6 +15,10 @@ "vanilla" ], "author": "Alessandro Benoit, Bernhard Behrendt", + "contributors": [ + { "name": "Bernhard Behrendt" }, + { "name": "Nick Freear" } + ], "license": "MIT", "devDependencies": { "grunt": "^1.0.2", @@ -27,8 +31,16 @@ "phantomjs-prebuilt": "^2.1.16", "qunit": "^2.6.1" }, + "engines" : { + "node" : ">=6.0" + }, + "files": [ + "dist/", + "src/" + ], + "bugs": "https://github.com/AOEpeople/cookie-notice/issues", "repository": { "type": "git", - "url": "https://github.com/AOEpeople/cookie-notice-js" + "url": "https://github.com/AOEpeople/cookie-notice" } }