From cb8c8e4d5cfca53e29eb8db7d35ba631e01cb480 Mon Sep 17 00:00:00 2001 From: Adam Laycock Date: Tue, 16 Oct 2018 10:13:33 +0100 Subject: [PATCH] remove unused dep and fix tests path --- package-lock.json | 16 ---------------- package.json | 1 - tests/docs.spec.js | 2 +- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index f85c25d..bb06c92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -832,16 +832,6 @@ "tweetnacl": "0.14.5" } }, - "benchmark": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/benchmark/-/benchmark-2.1.4.tgz", - "integrity": "sha1-CfPeMckWQl1JjMLuVloOvzwqVik=", - "dev": true, - "requires": { - "lodash": "4.17.4", - "platform": "1.3.3" - } - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4669,12 +4659,6 @@ "find-up": "2.1.0" } }, - "platform": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.3.tgz", - "integrity": "sha1-ZGx3ARiZhwtqCQPnXpl+jlHadGE=", - "dev": true - }, "pn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", diff --git a/package.json b/package.json index 20ad8ca..416467f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "@types/crypto-js": "^3.1.43", "@types/jest": "^23.3.5", "@types/node": "^10.12.0", - "benchmark": "^2.1.4", "coveralls": "^3.0.2", "jest": "^23.6.0", "ts-jest": "^23.10.4", diff --git a/tests/docs.spec.js b/tests/docs.spec.js index 536bdbd..23e223f 100644 --- a/tests/docs.spec.js +++ b/tests/docs.spec.js @@ -1,6 +1,6 @@ path = require('path'); -sodb = require(path.join(__dirname, '..')); +sodb = require(path.join(__dirname, '..', 'lib', 'sodb.js')); const SODB = sodb.SODB const buildFromJSON = sodb.buildFromJSON