dont run coverage if publishing

This commit is contained in:
Joe Fitter
2019-02-08 12:04:17 +00:00
parent 83a7f4664d
commit a6077b8f16
2 changed files with 12 additions and 9 deletions

View File

@ -8,7 +8,7 @@
"test": "mocha-webpack \"src/**/*.ts\"",
"test.coverage": "nyc npm test",
"test.watch": "npm test -- --watch",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run build --production",
"lint": "tslint --project .",
"build": "npm run webpack && npm run fix-types",
"tsc": "rimraf ./build && tsc -p .",