UNPKG

react-hotkeyz

Version:

A component that enables registration of hotkeys per z-index.

14 lines (10 loc) 434 B
const baseConfig = require("./config.base"); // Create a module map to point packages to the build output const moduleNameMapper = {}; moduleNameMapper["^react-hotkeyz/(.*)$"] = "<rootDir>src/$1"; moduleNameMapper["^react-hotkeyz$"] = "<rootDir>src"; module.exports = Object.assign({}, baseConfig, { moduleNameMapper, coverageReporters: ["lcov", "html"], coveragePathIgnorePatterns: ["__tests__", "/node_modules/"] });