From 9e6c69c1216eba32a8e973394f0a7f83cd3772ba Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sun, 24 Feb 2019 19:25:23 +0100 Subject: [PATCH] add dev dependency to test runner --- package-lock.json | 22 ++++++++++++++++++++++ package.json | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 739c867d..6253d97e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,18 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "colors": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz", + "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==", + "dev": true + }, + "commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true + }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -82,6 +94,16 @@ "statuses": ">= 1.4.0 < 2" } }, + "impunity": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/impunity/-/impunity-0.0.5.tgz", + "integrity": "sha512-ro+enrZPFTyY2U1sV9NytsyejE2tS5theAArM95iPYYQHUvO9YN0VjgfXP0KJfxwh4Xb6vBTRBmHIgx9GUx2Xg==", + "dev": true, + "requires": { + "colors": "^1.3.3", + "commander": "^2.19.0" + } + }, "inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", diff --git a/package.json b/package.json index 93c1e3ac..4b5db04a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "doc": "doc" }, "scripts": { - "test": "node --experimental-modules --loader ../js-inline-tests/src/resolve-hook.mjs ../js-inline-tests/src/main.mjs --entryPoint src/main.js --force-esm", + "test": "node_modules/.bin/impunity --entryPoint src/main.js --force-esm", "start": "node scripts/serve-local.js" }, "repository": { @@ -22,6 +22,7 @@ "homepage": "https://github.com/bwindels/morpheusjs#readme", "devDependencies": { "finalhandler": "^1.1.1", + "impunity": "^0.0.5", "serve-static": "^1.13.2" } }