From 36ed7079b187801fcb7f2cebcfa0882c8f31f910 Mon Sep 17 00:00:00 2001 From: Behind The Math Date: Mon, 15 Jan 2018 16:36:29 -0500 Subject: [PATCH] Fix tooling for the example Apparently we do need opn-cli. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 31579d2..eee7708 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "jshint": "^2.5.6", "npmpub": "^3.1.0", "nyc": "^11.4.1", + "opn-cli": "^3.1.0", "serve": "^6.4.4", "tap-nyc": "^1.0.3", "tap-spec": "^4.1.1", @@ -41,7 +42,7 @@ "test": "npm run lint && npm run tests | tap-spec", "coverage-tests": "npm run tests | tap-nyc", "coverage": "nyc -x \"tests/**\" npm run coverage-tests", - "example": "serve -o -p 3000 ./example", + "example": "opn http://localhost:3000/example/ && serve -p 3000 .", "prepublish": "npm run standalone", "release": "npmpub" }