[Pkg-javascript-commits] [d3-tip.js] 08/17: NPM / CI tweaks

Sunil Mohan Adapa sunilmohan-guest at moszumanska.debian.org
Thu Dec 8 10:37:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunilmohan-guest pushed a commit to branch upstream
in repository d3-tip.js.

commit 2d8c41a107e9f3c091490b88882884e329325d19
Author: Tim van der Horst <tim.vanderhorst at sportsmedglobal.com>
Date:   Thu Aug 25 15:39:50 2016 +1000

    NPM / CI tweaks
    
    - Declare a forgiving minimum for node
    - Use the latest node (6.1.0) on CircleCI
    - Greenkeeper branch prefix
    - Sort the package.json keys
---
 circle.yml   |  6 ++++++
 package.json | 32 +++++++++++++++++++-------------
 2 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/circle.yml b/circle.yml
index dbbe236..e45f8c5 100644
--- a/circle.yml
+++ b/circle.yml
@@ -1,3 +1,9 @@
+## Customize the test machine
+machine:
+  # Version of Node to use
+  node:
+    version: 6.1.0
+
 ## Customize dependencies
 dependencies:
   override:
diff --git a/package.json b/package.json
index 023ec1c..5e23b8a 100644
--- a/package.json
+++ b/package.json
@@ -2,30 +2,30 @@
   "name": "d3-tip",
   "version": "0.7.1",
   "description": "Tooltips for d3 svg visualizations",
+  "keywords": [
+    "d3",
+    "tooltip"
+  ],
+  "homepage": "https://github.com/Caged/d3-tip",
+  "bugs": {
+    "url": "https://github.com/Caged/d3-tip/issues"
+  },
+  "license": "MIT",
   "author": "Justin Palmer <justin at labratrevenge.com> (http://labratrevenge.com/d3-tip)",
   "main": "index.js",
   "directories": {
     "doc": "docs",
     "example": "examples"
   },
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1",
-    "lint": "eslint .",
-    "circle:lint": "npm run -s lint -- --max-warnings 0 -f junit -o $CIRCLE_TEST_REPORTS/eslint/junit.xml"
-  },
   "repository": {
     "type": "git",
     "url": "https://github.com/Caged/d3-tip"
   },
-  "keywords": [
-    "d3",
-    "tooltip"
-  ],
-  "license": "MIT",
-  "bugs": {
-    "url": "https://github.com/Caged/d3-tip/issues"
+  "scripts": {
+    "circle:lint": "npm run -s lint -- --max-warnings 0 -f junit -o $CIRCLE_TEST_REPORTS/eslint/junit.xml",
+    "lint": "eslint .",
+    "test": "echo \"Error: no test specified\" && exit 1"
   },
-  "homepage": "https://github.com/Caged/d3-tip",
   "dependencies": {
     "d3": "^4.2"
   },
@@ -33,5 +33,11 @@
     "eslint": "^3.3.1",
     "eslint-config-airbnb-base": "^5.0.3",
     "eslint-plugin-import": "^1.14.0"
+  },
+  "engines": {
+    "node": ">=4.2.6"
+  },
+  "greenkeeper": {
+    "branchPrefix": "greenkeeper/"
   }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list