From 9c5f0a23fcd1c0d3d68c4a8acc09f8cd4f793f90 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Mon, 3 Apr 2017 16:24:25 -0700 Subject: [PATCH] Don't include coverage crap in final package --- .babelrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.babelrc b/.babelrc index cb20e26..1aa43c3 100644 --- a/.babelrc +++ b/.babelrc @@ -11,7 +11,7 @@ }, "development": { "presets": ["es2016-node5", "react"], - "plugins": ["transform-async-to-generator", "array-includes", "istanbul"], + "plugins": ["transform-async-to-generator", "array-includes"], "sourceMaps": "inline" } } diff --git a/package.json b/package.json index 78cd88c..391622f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Electron supporting package to compile JS and CSS in Electron applications", "scripts": { "doc": "esdoc -c ./esdoc.json", - "compile": "git clean -xdf lib && babel -d lib/ src", + "compile": "cross-env NODE_ENV='production' git clean -xdf lib && babel -d lib/ src", "prepublish": "npm run compile", "start": "npm run compile && electron ./test-dist/electron-smoke-test.js", "test": "mocha --compilers js:babel-register test/*.js",