From 309afdb15ec3b1dddfca6680aa1388e7f6bb60d2 Mon Sep 17 00:00:00 2001 From: Jason Kurian Date: Fri, 1 Mar 2019 11:35:44 -0500 Subject: [PATCH] add nyc preset (#90) --- src/presets.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/presets.js b/src/presets.js index c437c96..489d5b3 100644 --- a/src/presets.js +++ b/src/presets.js @@ -49,6 +49,14 @@ module.exports = { npmPackages: ['react', 'react-native'], npmGlobalPackages: ['react-native-cli'], }, + nyc: { + System: ['OS', 'CPU', 'Memory'], + Binaries: ['Node', 'Yarn', 'npm'], + npmPackages: ['*istanbul*', 'nyc', '*babel*', 'typescript', 'ts-node', 'source-map-support'], + options: { + showNotFound: true, + }, + }, webpack: { System: ['OS', 'CPU'], Binaries: ['Node', 'Yarn', 'npm'],