diff --git a/packages/embark-console/package.json b/packages/embark-console/package.json index a344f81a2..c37c664bb 100644 --- a/packages/embark-console/package.json +++ b/packages/embark-console/package.json @@ -35,7 +35,7 @@ "lint:ts": "tslint -c tslint.json \"src/**/*.ts\"", "package": "npm pack", "qa": "npm-run-all lint typecheck build test package", - "reset": "npx rimraf dist embark-*.tgz package", + "reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package", "start": "npm run watch", "test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "typecheck": "tsc", diff --git a/packages/embark-debugger/package.json b/packages/embark-debugger/package.json index 56b89de51..3a3adb14a 100644 --- a/packages/embark-debugger/package.json +++ b/packages/embark-debugger/package.json @@ -33,7 +33,7 @@ "lint:ts": "tslint -c tslint.json \"src/**/*.ts\"", "package": "npm pack", "qa": "npm-run-all lint typecheck build package", - "reset": "npx rimraf dist embark-*.tgz package", + "reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package", "start": "npm run watch", "// test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "typecheck": "tsc", diff --git a/packages/embark-deploy-tracker/package.json b/packages/embark-deploy-tracker/package.json index e05851a0c..f9e08f254 100644 --- a/packages/embark-deploy-tracker/package.json +++ b/packages/embark-deploy-tracker/package.json @@ -35,7 +35,7 @@ "package": "npm pack", "// qa": "npm-run-all lint typecheck build package", "qa": "npm-run-all lint build package", - "reset": "npx rimraf dist embark-*.tgz package", + "reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package", "start": "npm run watch", "// test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "// typecheck": "tsc", diff --git a/packages/embark-listener/package.json b/packages/embark-listener/package.json index 0a13c2f93..3b94cd972 100644 --- a/packages/embark-listener/package.json +++ b/packages/embark-listener/package.json @@ -35,7 +35,7 @@ "package": "npm pack", "// qa": "npm-run-all lint typecheck build package", "qa": "npm-run-all lint build package", - "reset": "npx rimraf dist embark-*.tgz package", + "reset": "npx rimraf .nyc_output coverage dist embark-*.tgz package", "start": "npm run watch", "// test": "nyc --reporter=html --reporter=json mocha \"dist/test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "// typecheck": "tsc", diff --git a/packages/embarkjs-ipfs/package.json b/packages/embarkjs-ipfs/package.json index a02cd5cdc..98b21196d 100644 --- a/packages/embarkjs-ipfs/package.json +++ b/packages/embarkjs-ipfs/package.json @@ -44,9 +44,9 @@ "package": "npm pack", "// qa": "npm-run-all build test package", "qa": "npm-run-all build package", - "reset": "npx rimraf build-test dist embarkjs-*.tgz package", + "reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package", "start": "npm run watch", - "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": { @@ -62,6 +62,7 @@ "lodash.clonedeep": "4.5.0", "mocha": "5.2.0", "npm-run-all": "4.1.5", + "nyc": "13.1.0", "rimraf": "2.6.3", "source-map-support": "0.5.9" }, diff --git a/packages/embarkjs-swarm/package.json b/packages/embarkjs-swarm/package.json index fed285620..ec0b1d022 100644 --- a/packages/embarkjs-swarm/package.json +++ b/packages/embarkjs-swarm/package.json @@ -44,9 +44,9 @@ "package": "npm pack", "// qa": "npm-run-all build test package", "qa": "npm-run-all build package", - "reset": "npx rimraf build-test dist embarkjs-*.tgz package", + "reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package", "start": "npm run watch", - "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": { @@ -62,6 +62,7 @@ "lodash.clonedeep": "4.5.0", "mocha": "5.2.0", "npm-run-all": "4.1.5", + "nyc": "13.1.0", "rimraf": "2.6.3", "source-map-support": "0.5.9" }, diff --git a/packages/embarkjs-whisper/package.json b/packages/embarkjs-whisper/package.json index 0e813aefa..7a56adc2e 100644 --- a/packages/embarkjs-whisper/package.json +++ b/packages/embarkjs-whisper/package.json @@ -44,9 +44,9 @@ "package": "npm pack", "// qa": "npm-run-all build test package", "qa": "npm-run-all build package", - "reset": "npx rimraf build-test dist embarkjs-*.tgz package", + "reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package", "start": "npm run watch", - "// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", + "// test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\"" }, "dependencies": { @@ -63,6 +63,7 @@ "lodash.clonedeep": "4.5.0", "mocha": "5.2.0", "npm-run-all": "4.1.5", + "nyc": "13.1.0", "rimraf": "2.6.3", "source-map-support": "0.5.9" }, diff --git a/packages/embarkjs/package.json b/packages/embarkjs/package.json index 8b2a84d31..ba753ea72 100644 --- a/packages/embarkjs/package.json +++ b/packages/embarkjs/package.json @@ -43,7 +43,7 @@ "clean": "npm run reset", "package": "npm pack", "qa": "npm-run-all build test package", - "reset": "npx rimraf build-test dist embarkjs-*.tgz package", + "reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package", "start": "npm run watch", "test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register", "watch": "run-p \"build:** -- --verbose --watch\""