diff --git a/.travis.yml b/.travis.yml index 85349adf..5ec16e88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_script: script: - npm run lint - npm run build - - npm run test:unit + - npm run test:cover notifications: email: false \ No newline at end of file diff --git a/library.json b/library.json deleted file mode 100644 index 33b2f08c..00000000 --- a/library.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "Ocean Library", - "repository": { - "type": "git", - "url": "https://github.com/oceanprotocol/ocean-lib-js.git" - }, - "dependencies": [ - - ] -} diff --git a/package.json b/package.json index aa932f1d..df451835 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "changelog": "auto-changelog -p", "prepublishOnly": "npm run build", "test:unit": "mocha --config=test/unit/.mocharc.json --node-env=test --exit test/unit/**/*.ts", - "test:integration": "mocha --opts test/integration/mocha.opts" + "test:integration": "mocha --opts test/integration/mocha.opts", + "test:cover": "nyc --report-dir coverage/unit npm run test:unit" }, "repository": { "type": "git",